Get the current page & want to display 2nd page in TreeGrid

Hi,



I am using TreeGrid. I need help on 2 things:



1) Want to get the current page.

2) On load of grid, dynamically want to display 2nd page on grid.



Thanks in advance.



Robin

1)  the current  page  is  the  “currentPage” grid property:

var cPage = grid.currentPage;

2) changePage(pageNum) method can be used in this case:

grid.loadXML(url,function(){
    grid.changePage(2);
});

Thanks for ur reply…