Example 16: Pagination

Click on the table headers to sort the rows.
Click in a cell to edit the data.

Your table rows can now be paginated. This is very nice to have with huge tables especially since TableGear can slow down significantly when it has too many rows to work with (remember, it's doing a lot!).

The concept of adding new rows on any page of a paginated table is a bit nonsensical, or at least counter-intuitive as a user experience, but it's also a convenience that's hard to throw out. In any case, the "addNewRows" parameter can turn off this feature, so I leave the decision up to you!

Edit Row Id Item Description Price Date Quantity
$23,123,100,874,249.00 42333
676 233123 123 $23,123,100,000,000.00 January 1, 1970 20
664 5 esto sera un comentario $709,707.00 January 1, 1970 1
667 12 ttfg $60,000.00 January 1, 1970 42312
672 testSSDSD hola $54,542.00 January 1, 1970 0
722 1212 rty $50,000.00 January 1, 1970 0