Check documentation for the latest version of dhtmlxSuite setSerializationLevel DHTMLX Docs

setSerializationLevel

configures XML serialization

void setSerializationLevel(boolean userData,boolean selectedAttr,boolean config,boolean changedAttr,boolean onlyChanged,boolean asCDATA);
userDatabooleanenable/disable user data serialization
selectedAttrbooleaninclude the "selected" row's attribute in the resulting XML
configbooleanserialize the grid's configuration (only the information about the grid's structure)
changedAttrbooleaninclude the "changed" cell's attribute in the resulting XML
onlyChangedbooleaninclude only the changed rows in the resulting XML
asCDATAbooleanoutput cell values as CDATA sections (prevent invalid XML)

Available only in PRO Edition

Example

mygrid.setSerializationLevel(true,false,true,false,true,true);

Back to top