Refresh

Hello support,



I want to refresh the grid on clicking refresh button.

I tried with updateXML method , but this updates the body rows data only,the headers data remaining the same.

I also tried with



mygrid.clearAll()

mygrid.loadXML(url);



Now here I lost the attachHeaders. I want the grid to be refresh completely for any change in data,no of rows,no of columns,

no of attach headers,rowspan,colspan,splitAt…etc.etc

So what is the solution?

There are two way

a) update data only
    grid.updateFromXML(url);

b) updated data and structure
    grid.clearAll(true);
    grid.loadXML(url);

There is no way to update main headers and preserver attached headers in same time.