Data Grid pagination Action

I have a page with data-grid with list of locations on left half of the page and google map pointing to locations on right half of the page. Now, can i use pagination on the data-grid and show only the locations of that page on the google map rather than loading all the locations. The data for the datagrid is from microflow using the REST Webservice call. Please help me in achieving the functionality.
1 answers

The simple answer is, no you can't. The pagination is part of the datagrid widget and you cannot interact with the widget itself. However, you could build your own ‘data-grid’ using a dataview on a context item that has 0-more attributes that function as search fields and some buttons for the pagination to do the retrieves