hidding a column using XML

Hi,



I am using the professional version of Dhtmlx components. Also I am using XML to display the grid data and its header. Now i want to hide a particular column of dhtmlxGrid using an attribute in xml. Can you please guide as to which attribute should i use to hide a particular column.



Thanks,

Huzefa

To hide necessary column you can add following line to the grid xml:




0
true




Also you can use setColumnsVisibility(list) method. Here list - list of true/false separated by comma:

false,true,true,true,true



What if i want to pass multiple columns in the params.



Isn’t there any way to set the attribute in the column’s element like hidden=“true” ?



 



Thanks,



Huzefa

If you are loading configuration from XML, you can use


<column hidden=“true” …

To have the related column in hidden state after initialization