I would like to get all the records
from a DataTable
. I have this DataTable
When I set
"bServerSide": false,
"bDeferRender" : true
I can get all the records(visible and no visible) but only in some DataTables.
Some other DataTables cant load to show the records like they crash with error
TypeError: Cannot read property 'length' of undefined
My target is to add one button to get only visible records and one button to select all the records(visible and no visible)
How can I fix this ?