Code Monkey home page Code Monkey logo

Comments (4)

github-actions avatar github-actions commented on May 26, 2024

Please fork the Stackblitz project and create a case demonstrating your bug report. This issue will be closed if no activities in 20 days.

from primereact.

Revivius avatar Revivius commented on May 26, 2024

Updated issue and added reproducer link to Stacblitz, here is the link again in case updated link is not picked up automatically by Github Actions:

https://stackblitz.com/edit/vitejs-vite-vmqvrs?file=src%2FApp.tsx

from primereact.

melloware avatar melloware commented on May 26, 2024

Fixed: https://stackblitz.com/edit/vitejs-vite-gvi6qm?file=src%2FApp.tsx

You missed 1 key props that the example has and is required: first={tableState.first}

from primereact.

Revivius avatar Revivius commented on May 26, 2024

Thank you @melloware. It is clear to me now after checking code samples more carefully and considering that table should somehow know first index to calculate current page but I would like to suggest enhancing documentation for DataTable.

Paginator section talks about paginator and rows properties but not "first".
Lazy load section mentions lazy and totalRecords properties but not "first".

Agreed, code samples contain it but seems easy to miss. Should I create another issue for documentation ?

from primereact.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.