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. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

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

Thread ID:





77264 Oct 23,2008 05:16 AM UTC Oct 24,2008 02:08 PM UTC WinForms 1
Tags: GridControl
Asked On October 23, 2008 05:16 AM UTC

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

Rajadurai C [Syncfusion]
Replied On October 24, 2008 02:08 PM UTC


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.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon 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.Close Icon