dhtmlXGridFromTable paging

Can we apply paging to a grid generated based on a table?



I tried to do this modifying the dhtmlxgrid_start.js file, adding the following line before the windowf.init() method call:

windowf.enablePaging(true, 5, 2, “pagingArea”, true, “recinfoArea” );



where var windowf = new dhtmlXGridObject(w);



I have pagingArea and recinfoArea defined as two div elements on my html page.

It is possible , but it will not give any performance advantage, it take the same time for initial loading as grid in normal mode


        function startA () {
            mygrid.enablePaging(true, 2, 2, “pagingArea”, true, “recinfoArea” );
        }
        function startB () {
            mygrid.setSizes();
            mygrid.currentPage=0;
            mygrid.changePage(1)
        }