Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by zorro on Feb 27, 2008 02:22
open dhtmlx forum
dhtmxgrid

hi,

using enableSmartRendering(true) in a grid
when i serialize the grid, rows which are not rendered do not appears in the serialized grid

how to serialize a whole grid without having to render it completely?


thanks


Answer posted by Support on Feb 27, 2008 05:29
If you are using static smart rendering - serialization will include all row ( rendered and buffered )
If you are using dynamic smart rendering - serialization will not work correctly, because part of data not loaded from server yet and there is no way to include it in serialization.
Answer posted by zorro on Feb 27, 2008 07:49

in fact when using enableHeaderMenu() to hide some columns

serialization is applied only on visibles columns on rendered grid rows that is what i want

but all columns are serialized after for rows which are not rendered

 

thanks

Answer posted by Support on Feb 27, 2008 08:54
Unfortunately when serializing rows which was not parsed yet - component reuse original XML ( which contains all columns )
The only way to change behavior - force parsing and rendering of all buffered rows before data serialization.