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
close icon

how can i embed a treeview in the cell of data grid

how can i embed a treeview in the cell of data grid



1 Reply

RC Rajadurai C Syncfusion Team October 24, 2008 02:08 PM UTC

Hi,

Thanks for your interest in Syncfusion products.

To embed treeview,it is important to create a celltype 'TreeCell'. It can be created through the following steps.
1) Create two classes deriving GridStaticCellModel and GridStaticCellRenderer to include appropriate properties for tree view.

2) Through this, a celltype can be created and added to the cellmodels of gridcontrol.

3) Embed the cell of the grid through the celltype created.

Please refer the following sample for this issue.
http://websamples.syncfusion.com//samples/Grid.Windows/F77264/main.htm

Please let me know if this helps.

Regards,
Rajadurai




Loader.
Live Chat Icon For mobile
Up arrow icon