Categories | Question details Back To List | ||
how to hide a column in XMl itself how to set the column hide in the grid. I am loading XML using JSP and Struts. I am setting the Column Id and Column caption in the XML how to hide one column in the Grid... If suppose I set the column hide using this line mygrid.setColumnHidden(4,true); it show error message 'this.hdr.rows.1._childndxes' is null or not an object Please suggest some solutions Thanks and Regards Udhaya Answer posted by Support on Apr 21, 2008 02:05 You can hide it from XML as <rows> <head> <column ... </column> ... <afterInit> <call command="setColumnHidden"><param>4</param><param>true</param></call> </afterInit> In case of JS command, please be sure that it will be called only after data loading grid.loadXML(url,function(){ grid.setColumnHidden(4,true); }); |