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.
Unfortunately, activation email could not send to your email. Please try again.

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

Thread ID:





77264 Oct 23,2008 01:16 AM Oct 24,2008 10:08 AM Windows Forms 1
Tags: GridControl
Asked On October 23, 2008 01:16 AM

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

Rajadurai C [Syncfusion]
Replied On October 24, 2008 10:08 AM


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.

Please let me know if this helps.



This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.