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.

How to keep GridDropDownGrid stays open

Thread ID:

Created:

Updated:

Platform:

Replies:

35878 Oct 12,2005 10:54 AM Oct 12,2005 01:30 PM Windows Forms 2
loading
Tags: GridControl
Najmeh Joze-khajavi
Asked On October 12, 2005 10:54 AM

I followed your sample code ...\Syncfusion\Essential Suite\3.0.1.6\Windows\Grid.Windows\Samples\In Depth\DropdownGrid\CS and using GridDropDownGridCellModel and GridDropDownGridCellRenderer. I only changed the look of combo box button to be push button simply by this: //DropDownButton = new GridCellComboBoxButton(this); DropDownButton = new GridCellButton(this); this.DropDownButton.Text = "+"; I have 25 buttons like this. By clicking the push button (+) I get my grid (GridControl with three columns and 12 rows). It works just fine but sometimes I like to keep this drop down open and click on next button. Basically I want to be able to see more than one grid in the same time. Is this possible? If yes what should I change to get this behavior. For example I want to use some hot keys or right click mouse to keep them open in order to see other grids and then close them.

Administrator [Syncfusion]
Replied On October 12, 2005 12:10 PM

Using the dropdowngrid sample code, it is not possible to have 2 grids dropped at once. The reason is that you can only have one currentcell in a grid, and the cell has to be current to have a dropped grid. Now you could have a cell with a button that pops up a modelless toplevel form that could host a grid that would stay visible as you move to another cell in the grid. But this would be something different than the code used in the dropdowngrid sample.

Najmeh Joze-khajavi
Replied On October 12, 2005 01:30 PM

Ok. Thanks. I think I know what you are talking about. There is another sample code called ...\Syncfusion\Essential Suite\3.0.1.6\Windows\Grid.Windows\Samples\In Depth\DropDownFormAndUserControlSample. This way I can see all my 25 grids at once. Thank you.

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.

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.

;