The Syncfusion native Blazor components library offers 70+ UI and Data Viz web controls that are responsive and lightweight for building modern web apps.
.NET PDF framework is a high-performance and comprehensive library used to create, read, merge, split, secure, edit, view, and review PDF files in C#/VB.NET.
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.
ADAdministrator 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.