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