Change datasource DropDownGrid in GridDataBoundGrid

When I change cell type to DropDownGrid in GridDataBoundGrid, DropDownGrid display same data in a GridDataBoundGrid control.

I need to know is it possible to change datasource in cell DropDownGrid & how to do that ?

Thank You


1 Reply

RC Rajadurai C Syncfusion Team February 18, 2009 02:35 PM UTC

Hi Nalin,

Thanks for your interest in Syncfusion products.

By default, the dropdowngrid shows the grid content to which this celltype is embedded. To show different datasource in the dropdowngrid, you need to derive custom cell model and custom cell renderer from GridDropDownGridCellModel and GridDropDownGridCellRenderer classes respectively.

Please refer to the following sample that shows the custom grid embedded in the dropdown part.
http://websamples.syncfusion.com//samples/Grid.Windows/F79614.zip

Regards,
Rajadurai


Loader.
Up arrow icon