How do I programmatically change what page is being displayed while using the Paging behavior?
I'd also settle for just resetting the Paging behavior to the default state. I really just need to programmatically get it back to page one.
Hello,
To change a page from the JavaScript you can do the following:
function changePage(index)
{
var grid = $find("WebDataGrid1");
grid.get_behaviors().get_paging().set_pageIndex(index);
}
This doesnt seem to work with WebHierarchichalDataGrid.