webismymind / editablegrid

EditableGrid is an open source Javascript library aimed at turning HTML tables into advanced editable components. It focuses on simplicity: only a few lines of code are required to get your first table up and running.
http://www.editablegrid.net
Other
796 stars 271 forks source link

Display number of records in header/footer #74

Closed rmingas closed 9 years ago

rmingas commented 9 years ago

Hi,

I might be on the wrong place to ask this question, but would like to know:

Is is possible to display on header and/or footer the number of current records found (including filtered content)?

thenderson commented 9 years ago

EditableGrid.prototype.getTotalRowCount is defined in editablegrid.js.

rmingas commented 9 years ago

I'm Using the MySQL version

rmingas commented 9 years ago

Hello, guys. Any ideas? I'd really appriceate suggestions on this feature for MySQL version

jybeaujean commented 9 years ago

use : EditableGrid.prototype.getRowCount() : Returns the number of rows or : EditableGrid.prototype.getUnfilteredRowCount() : Returns the number of rows, not taking the filter into account if any