Is there a way for serialize() to retrieve the whole dataset (like toExcel() and toPDF()) instead of only what is shown on screen?
if you are talking about the filtered grid you may try to use the following solution:
var val=myGrid.getFilterElement(column_index).value //save the filter input value
myGrid.getFilterElement(column_index).value="" //reset the filter input value
myGrid.filterByAll(); //force the filteration procedure
myGrid.serialize(); // seralize
myGrid.getFilterElement(column_index).value=val //restore saved filter input value
myGrid.filterByAll(); //force the filteration procedure
Thanks, we used a more generic approach instead.
grid.filterBy(0,"");
grid._f_rowsBuffer = null;
var grid_xml = this.serialize();
grid.filterByAll();