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.

CellType = "DropDownGrid"

Thread ID:

Created:

Updated:

Platform:

Replies:

25983 Mar 10,2005 09:31 PM Mar 11,2005 03:45 AM Windows Forms 1
loading
Tags: GridControl
Robert Charlebois
Asked On March 10, 2005 09:31 PM

Hi, I am having trouble finding information on how to use the CellType "DropDownGrid" in the new version of syncfusion. I know there is examples under "CellTypes", however in this example the drop down grid is the same as the grid it is dropping down from. Under another example "DropDownGrid" it drops down grids that are customised, however the CellType = "DropDownGrid" is not used. In this example new cell models are created and added. Is it possible to customise the grid that is dropped down using the CellType = "DropDownGrid"?? Thanks for any help you can offer.

Administrator [Syncfusion]
Replied On March 11, 2005 03:45 AM

If you want to drop an arbitrary grid''s, then you will need to use the technique from the second sample you mentioned, \Syncfusion\Essential Suite\3.0.1.0\Windows\Grid.Windows\Samples\In Depth\DropdownGrid. As far as using the original "DropDownGrid" celltype, you need to derive its CellModel and CellRenderer classes, and override CreateInnerControl in the Renderer class to return the actual grid you want to drop. This is in fact what the second sample does. It derived the DropDownGrid cellmodel/renderer classes and returns the embedded grid in its override of CreateInnerControl. This new celltype in the second sample was modelled afer the original "DropDownGrid" celltype code in a manner that allows it to drop a different grid.

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.

;