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
680
Question on ColumnChooserControl
posted

Do we have any ability to "Select / Unselect All" in ColumnChooserControl.? I have a grid with 60 columns. The end user would like unselect all columns first and choose only the columns they needed.

Parents
No Data
Reply
  • 4555
    Suggested Answer
    posted

    Hi,

    You can set the columns to hidden. The columns will not appear in the grid, they will appear in the column chooser and the user can  hide/show them. The following code snippet with set the column CustomerID to hidden when added in the InitializeLayout.

     e.Layout.Bands[0].Columns["CustomerID"].Hidden = true;

     

    Magued

     

Children