Page 1 of 1

DataTable row selection slow with sortable columns

Posted: 12 Feb 2019, 09:57
by stfabian
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