Obtaining Grid's XML

Is there a way I can get the entire XML (that was used to build a grid) through dhtmlx API? Please advise asap.

I saw the method serialize, however it does not gives header information such as…

A B

Please advise.

Pleas,e try to use the serialization in combination with setSerializationLevel() method:
docs.dhtmlx.com/api__dhtmlxgrid_ … level.html
It’s third attriburte set to “true” allows to serialize the columns config.

Thank you.

I am changing a cell’s color at runtime. The serialize method is not showing background color in the XML. e.g. I am expecting serialize to give me , however it is giving . I tried setting fourth parameter of setSerializationLevel to true, but that is not working either.

Please advise.

Unfortunately it’s not available to serialize the style attributes of the cells.