Regarding hearder in dhtmlxGrid

how can i retrieve the header through API in grid control. I am using gridObj.serialize() function, header tag is missing from the o/p

You can use
grid.setSerializationLevel(false,false,true);
var xml=grid.serialize();