Thoughts on Paging
Hey Alex,
Don't want to rush anything but I could really use the paging functionality in the grid component. Right now I have a dataset that I would like to load into the grid but having more than 100 rows really kills the functionality.
I wanted to offer to assist you in developing this if you would like. I implemented paging in the grid component that I hacked together and the implementation was pretty easy.
In simplest form, it works like this:
Create a js array for storage (not display) that holds all of the records. Create another array for display that is built by looping through the master storage array for however many display rows there are currently selected.
Modify the sort function to sort on the master array and return a subset of data to the display array based on the current page and number of display rows selected. The same functionality works for search features.
Let me know if you would like help implementing it or if you would like to take a look at my old code. Would love to see these components integrated into your wonderful grid!
Don't want to rush anything but I could really use the paging functionality in the grid component. Right now I have a dataset that I would like to load into the grid but having more than 100 rows really kills the functionality.
I wanted to offer to assist you in developing this if you would like. I implemented paging in the grid component that I hacked together and the implementation was pretty easy.
In simplest form, it works like this:
Create a js array for storage (not display) that holds all of the records. Create another array for display that is built by looping through the master storage array for however many display rows there are currently selected.
Modify the sort function to sort on the master array and return a subset of data to the display array based on the current page and number of display rows selected. The same functionality works for search features.
Let me know if you would like help implementing it or if you would like to take a look at my old code. Would love to see these components integrated into your wonderful grid!
Aaron - aaron@x-clothing.com
February 3,