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
$1,836.00 2192956292
727 322 gf $443.00 December 31, 1969 2147483647
726 e gf $333.00 December 31, 1969 20130209
741 Al khjkjhkjh $60.00 December 31, 1969 19881023
732 sadasd asdfas $900.00 December 31, 1969 5454646
696 asd hola como estas, Bien y tu :) $100.00 December 31, 1969 6767