DataTable row selection slow with sortable columns

UI Components for React
Post Reply
stfabian
Posts: 17
Joined: 18 Sep 2018, 13:04

12 Feb 2019, 09:57

Hello,

Selecting a row is very slow because DataTable.processData is called on every render which sorts the value every time (https://github.com/primefaces/primereac ... e.js#L1210)

In my opinion it is ok that it is slow when clicking on the column header (actually sorting the table, user expects a small loading time), but not on selecting a row

Test Case:
https://codesandbox.io/s/nrrmx6vl9p

Version: 3.0.0

Post Reply

Return to “PrimeReact”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 2 guests