dhtmlxgrid serialize

I have a grid with master checkbox in header.
On Click of save,i am serializing the grid and and forwarding the xml to server .
If I have errors while processing the grid data ,i return the serialized xml to jsp and load using mygrid.loadXMLString(Str). I am initializing the grid as well before this.
But this time i am not able to see the master check box.Remaining header labels are being displayed.

Can you help me in this?

While serialization grid export only grid data, not header labels. If you want to serialize grid labels you should use setSerializationLevel(), serialize grid configuration and then reload grid with new configuration:
grid.clearAll(true);
mygrid.loadXMLString(Str);

docs.dhtmlx.com/doku.php?id=dhtm … ationlevel