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


it show error message

‘this.hdr.rows.1._childndxes’ is null or not an object

Please suggest some solutions

Thanks and Regards


You can hide it from XML as

       <column …

In case of JS command, please be sure that it will be called only after data loading