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.
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Selecting row headers

Thread ID:

Created:

Updated:

Platform:

Replies:

19282 Sep 22,2004 04:44 PM UTC Sep 22,2004 07:07 PM UTC Windows Forms 1
loading
Tags: GridControl
Pete Davis
Asked On September 22, 2004 04:44 PM UTC

In my grid, I would like to allow the user to select row headers using the keyboard and then be able to detect the space bar being pressed in the row header. I''ve created a type of hierarchical table and I need the user to be able to expand and collapse the tree with the keyboard. The row headers are derived from the Static cell type. How would I do that? Thanks.

Administrator [Syncfusion]
Replied On September 22, 2004 07:07 PM UTC

Here is a rough sample. It more or less turns off the default selections, and restricts the selections to the row header cells through handling certain events. If you want to keep the standard selections then I think you would have to maintain a special set of selected header cells and color them yourself using PrepareViewStyleInfo sort of like what this sample does for row header cells in the standard grid.Selections collection. GridControlRowHeader_3804.zip

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

;