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
1140
Select Multiple Columns in Grid
posted

Hi,

Is there any way to select multiple columns of the grid (like we see in excel to change properties of multiple columns at same time)

Like it does select multiple rows,multiple cells, Is there a way for multiple columns to select.

I need to select multiple columns right click and open a context menu to perform an action on all the columns at single click.

Let me know.

Nagarjun Reddipalle.

 

 

Parents
No Data
Reply
  • 69832
    Offline posted

    Yes; the grid exposes a 'Selected' collection property, under which there is a Columns property of type SelectedColsCollection. That class exposes an AddRange method to which you can pass an array containing the header of each column you want to select.

Children
No Data