Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Carl on Jul 07, 2009 04:16
open dhtmlx forum
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.
Answer posted by dhxSupport on Jul 07, 2009 05:20
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 http://dhtmlx.com/docs/products/dhtmlxGrid/doc/articles/Dataprocesor_usage.html#grid_art_dataprocessor