How to change column header after loading xml

How to change column header (title), sorting type and alignment after the table was created
and loaded xml with part in it (containing default values).
Method setHeader() don’t work because everything is overriden by loadXML().

Hello.

Yes, it’s possible. You may look at this sample:
http://www.dhtmlx.com/docs/products/dhtmlxGrid/samples/12_initialization_loading/05_grid_reload.html#alfa

function ser() { mygrid.clearAll(true); mygrid.loadXML("../common/grid.xml"); }

This is not what I want.
I don’t want to clear or reload data.
I want to overwrite column title after loading xml.

Once again,
first I load XML with default header,
second I need to set new header without reloading the data.

How to do it?

I have found this.
http://icomm.mbl.edu/treegrid/docsExplorer/dhtmlxgrid/dhtmlxgrid___api_method_dhtmlxgridobject_setcolumnlabel.html

mygrid.setColumnLabel(0,"New Column Label");

Is there anything like this to change width, alignment and sorting type?

Hello again,

Unfortunately the only way to change width, alignment or sorting type is by reloading the grid.