This example was built using the Loading a Grid Template.
I modified the grid to instead be database driven and to not use the replace records api.
I then added the buttons to the side of the grid that will page the grid up and down.
The buttons themselves query the DOM looking for the elements that have the CSS class of the paging controls and then click that item.
This solution has some limitations. Namely, the grid widget must have the paging bar property enabled.
Addtionally, this also means that you cannot have a second grid on this screen as the the current dom query selector only selects the FIRST
element on the screen that contains that CSS class.
This example is locked for editing, but if you want to create your own sandbox that is a copy of this example, simply use the fork option.
If you have any questions about this example, please reach out on the discussion forum (http://discuss.noderun.com/login), as I don't plan to monitor comments on this space.
Be the first to comment:
Comments