setColumnsVisiblity in version 2.0

Is there any change in which the function setColumnsVisiblity in used in version 2.0? We used version 1.5 in which the following xml worked fine.The parent xml has only the first column as visible others as hidden.This



<?xml version="1.0" encoding="UTF-8"?>



    

        

        

        

        

        

        

        

        

            

                

                    Entity Columns,Entity Name,Data Type,Derived Data

                    Type,Display Format,Rounding,ColCalMethod

                

                

                    font-size: 11px; font-family: Arial

                    ;font-weight:bold ; color

                    :#0A64B7;text-align:center;

                

            

            

                false,true,true,true,true,true,true

            

            

                100,0,0,0,0,0,0

            

        

    

    

        

        

        

        

        

        

        

    

    

        

        

        

        

        

        

        

    





This is the parents xml and the kids xml is smthng like this:





    

        

        

        

        

        

        

        

    

    

        

        

        

        

        

        

        

    

    

        

        

        

        

        

        

        

    

    

        

        

        

        

        

        

        

    

    

        

        

        

        

        

        

        

    

    

        

        

        

        

        

        

        

    





But now in version 2.0, when i click on parent node, my hidden columns headers are visible in form of some crunched up text.This did not happen in version 1.5. Can u help in this?

In the version 2.0 you should use method setColumnHidden(columnIndex,state);

How should this be used if we are loading grid by xml?

Please, see the answer dhtmlx.com/docs/products/kb/inde … 45&a=14867