Creating Hidden Rows with XML

Hello,



I’m trying to work around the problem that updateFromXML(url) does not update global userData by using hidden rows. How do I specify a row as hidden in XML. I’ve hidden a row via the function “setRowHidden” and the row is hidden in teh display but when I serialise the XML there is no attribute listed that I can use on the original input XML for the grid.



I tried:







but that does not work. What is the correct way please?



Thanks.


hello


custom attributes are available by getRowAttribute method. So, you can try to use the following:


grid.attachEvent(“onXLE”,function(){


grid.forEachRow(function(id){


if(grid.getRowAttribute(id,“hidden”)==“true”) grid.setRowHidden(id,true);


})


})