Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by ez on Apr 26, 2009 23:48
open dhtmlx forum
full desciption of setSerializationLevel

Hello!

Where can I find full description of setSerializationLevel parameters?

Is i t possible to serialise grid header/footer with this function?
Answer posted by dhxSupport on Apr 27, 2009 03:39

setSerializationLevel(userData, fullXML, config, changedAttr, onlyChanged, asCDATA):

# userData - enable/disable user data serialization
# fullXML - enable/disable full XML serialization (selection state)
# config - serialize grid configuration
# changedAttr - include changed attribute
# onlyChanged - include only Changed rows in result XML
# asCDATA - output cell values as CDATA sections (prevent invalid XML)

List of all availible API methods you can find here http://dhtmlx.com/docs/products/dhtmlxGrid/doc/alpha.html#grid_api_a

>>Is i t possible to serialise grid header/footer with this function:

To serialize grid's header you should use 3rd parameter of this function as true (serialize grid configuration). But extra lines of header and footer (created through attachHeader and attachFooter) not included in serialization.