DHTMLX Docs & Samples Explorer

Index
dhtmlxgrid
API Methods

### setSerializationLevel(userData, selectedAttr, config, changedAttr, onlyChanged, asCDATA)

Required library edition:
Required library file: dhtmlxgrid.js

configure XML serialization

- userData - enable/disable user data serialization
- selectedAttr - include “selected” row's attribute in result XML
- config - serialize grid configuration (only information about grid structure)
- changedAttr - include “changed” cell's attribute in result XML
- onlyChanged - include only changed rows in result XML
- asCDATA - output cell values as CDATA sections (prevent invalid XML)

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

See also: setSerializableColumns, serialize

Related articles: Grid Serialization