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
$6,913,834.00 632
661 this is me5 464 $456.00 December 31, 1969 500
662 3213213a 21321321321 $456.00 December 31, 1969 85
663 aa a $456,456.00 December 31, 1969 2
664 asdf a $6,456,460.00 January 2, 1970 23
665 a 456 $6.00 December 31, 1969 22