"hidden" attribute of a column in xml init

The documentation mentions there is a “hidden” attribute that can be added to a column element in xml, the xml used to load a grid. I’ve tried adding the hidden attribute but what value do i give it? i’ve tried “true” and “1” and neither works.



i’ve also tried hiding columns using the “mygrid.setColumnHidden(1,true)” javascript function but it’s not working either. I’ve used it like so:

mygrid.init();

mygrid.setColumnHidden(1,true);

mygrid.loadXML(“myxmlfile.aspx”);



and like so:

mygrid.init();

mygrid.loadXML(“myxmlfile.aspx”,function(){

mygrid.setColumnHidden(1,true);

});



documentation also tells about calling a function at init using xml, but i’d rather just set a property in xml, or call a javascript function.

Which edition do you use ?

“hidden columns” functionality is available only in the professional one.

If you have professional version and problem still persists, please, contact us directly at the support@dhtmlx.com and provide any king of the sample where it can be recreated