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

CellType = "DropDownGrid"

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.

1 Reply

AD Administrator Syncfusion Team March 11, 2005 08:45 AM UTC

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

Live Chat Icon For mobile
Up arrow icon