setColumnVisiblity in version 2.0

in version 2.0 setColumnVisiblity API is replaced by setColumnHidden(colIndex,state). But if i m loading data using kidsxml in case of a tree grid, will the column visiblities be retained as in in parent xml? or is there a need to explicitly set column visiblities again while loading the child xml?

The visibility state will be retained. So, you don’t need to set the visibility state again in the child xml.