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.
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.