loadXML removes my groupBy

Does anyone know if loadXML is supposed to remove the groupBy? I really don’t want it to. I just want to refresh my data and keep the same grouping schema.

This is expected behavior. To refresh grid if it has groups you should use:

function refres(){ grid.clearAll() grid.load(url,function(){ grid.grouBy(... }) }