How to change total entries displayed in information
How to change total entries displayed in information
LesF
Posts: 16Questions: 6Answers: 1
I am populating my table with a client-side JSON array, where the data has been filtered elsewhere and I know the total number of rows, can I make the informational display below the table give my actual total?
I know I can set the record total when the data is loaded from server side, can I override that value when loading on the client?
This question has an accepted answers - jump to answer
This discussion has been closed.
Answers
Hi @LesF ,
The totals will be filled in automatically. If you look at this example here, it just takes that array and display the count of the records in it. You don't need to set it manually.
Cheers,
Colin
No, I had to complicate things... I am not giving it all of the data, I have filtered it already, so it doesn't know the total.
The easy solution was just to set
"info": false
, then provide my own display.