Serialize TreeGrid gives "zx is undefined" error

I have an XTreeGrid object and call serialize() on it … it gives me:



Error: zx is undefined

Source File: …/dhtmlx/dhtmlXGrid/dhtmlxgrid.js

Line: 344



The XTreeGrid is dynamically loaded with differet contents, I can serialize it in other instances so not sure why this happens - what is “wrong” with the contents to produce this error?



Thanks,

Carl.

serialize() method cannot be used with dynamically loaded grid. This method require all rows to be loaded. In case of dynamic loadingonly those rows are loaded which are in visible area.
To save values from grid in case of dynamic loading you can use form integration extension or dhtmlxDataProcessor. Please see more information here dhtmlx.com/docs/products/dhtmlxG … aprocessor