Grid Print does not work right when used paging

Hi,



When grid paging is enabled and grid shows 1 - 20 of 200 that is on first page. now if we use printView() then it gives only first page data. if I navigate to second page then print view gives two pages data. If i navigate to last page then it shows all pages data.



I need to have that when grid loaded first page it self then printView needs to produce all data from the grid.



Thanks

This is known issue, to resolve it in dhtmlxgrid 1.5   - only parsed rows included in printView
To resolve issue, you can add next command before printView

    while(mygrid.addRowsFromBuffer());
    mygrid.printView();

first command will parse all rows in buffer so printView will include all rows in grid.