SetColumnVisiblity in version 2.0

How shold the method setColumnHidden be used if the grid in loaded using xml?


You can use the following method:






4
1



<row …>






Here 4 is column index that must be hidden.