Count Cell Values
Count Cell Values
JasonWells
Posts: 6Questions: 3Answers: 0
One of my columns on my table is a Status column. The values are "Pending","Completed","Cancelled","Rescheduled","Reassigned","Not Done". Is there a way that Datatables can count the number of records for each value and display it under the Showing 1 of x entries?
Example:
Showing 1 to 20 of 139 entries
10 Pending, 5 Completed, 1 Cancelled, 2 Rescheduled, 3 Reassigned, 0 Not Done
This discussion has been closed.
Answers
There isn't a built in way of doing that, but you could use
infoCallback
to add it yourself.Allan
edit: Nice idea for a plug-in that :-)