Hi,
I have periodically updated TreeGrid. I use updateFromXML function for update.
The TreeGrid has groups with items. After update groups may be added or removed.
I need that, after group adding, this group was opened.
I tried to use open=1 property in XML, but it works fine only for loadXML function but not for updateFromXML .
Thanks
You can try to use the next code
mygrid.updateFromXML(url,true,true,function(){
mygrid.forEachRow(function(id){
if (mygrid.getRowAttribute(id,“open”)==“true”) //or any other value, used in your case
mygrid.openItem(id);
});
});