Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by tuan linh pham on Jul 24, 2008 07:49
open dhtmlx forum
paing with html table

> hi everybody,
> can U help me? when i try use paging in grid when initialize grid with html table, it paging ok, but when loading it show all record in table, when one event happen such as: i select filter, sort...then paging normal. So how can fix it.
> thanks a lot
Answer posted by Support on Jul 24, 2008 08:56
You need to call
    grid.changePage(1);
after initial rendering , so the grid will switch to paging mode.

    var grid=dhtmlXGridFromTable("some_table")
    grid.enablePaging(...
    grid.changePage(1);