Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
865
Hiding Column
posted

How can one hide a column -- client-side -- in a WebHierarchicalDataGrid?  I know how it can be done in a WebDataGrid, but I'm at a loss as to how it can be done in a WebHierarchicalDataGrid. 

Parents
No Data
Reply
  • 33839
    Suggested Answer
    posted

    Hi,

    If you hide a column in the WebHierarchicalDataGrid, you will be doing the hiding in only one row island at a time.  You would have to get the change to the band in order for it to take affect across all row islands.  Here is code to do it at the top.

    var grid = $find("WebHierarchicalDataGrid1");

    grid.get_gridView().get_columns().get_column(0).set_hidden(true);

    Let us know if you have difficulty.

    regards,
    David Young

     

Children