We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

How can I allow users to select column(s)?

Is there any way to allow the user to select columns?

1 Reply

CB Clay Burch Syncfusion Team June 2, 2002 04:26 PM UTC

We have added a FAQ that shows how you might do this. In a derived grid, the sample overrides OnMouseDown to maintain an ArrayList of selected columns. Then in a Paint override in a derived columnstyle, the sample sets the forecolor and backcolor of any cell in a selected column. George Shepherd's Windows Forms FAQ contains an entry entitled: How can I enable column selections in my datagrid? Check it out at: http://www.syncfusion.com/faq/winforms/search/893.asp

Loader.
Up arrow icon