strange grid load behavior

I have several calls for grid.cleatAndLoad from diferent events.

But one call behave differently. Its clearing the xmlFileUrl property. This one call isn’t called from a registered event.

What could be the problem ? Is this happening because the call isn’t called from an attached event ?

It crossed my mind that this request is also reloading the grid structure (xml definition) + data. My intention was to reload the grid structure from server. But when I was sending only the grid structure definition, the rows buffer was emptied anyway.

So Is there anyway just reload the grid structure(xml) from the server and preserve and display proper the data in the restuctured grid ?

You can use following code:

mygrid.clearAll(true);//clear grid structure
mygrid.load(url_new_structure);