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





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.


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

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.