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.
ADAdministrator Syncfusion Team 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\22.214.171.124\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.