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.

GridTreeControl selections

Thread ID:





98566 Mar 9,2011 05:44 AM Jan 2,2014 07:33 AM WPF 3
Tags: GridControl
Jorge Pampin
Asked On March 9, 2011 05:44 AM


I need that my GridTreeControl only allows select a row, and that you can edit cell without unselect entire row.

I can't do it, I don't find the simple selection option.


Manikandan [Syncfusion]
Replied On March 11, 2011 06:02 AM

Hi Jorge,

Thanks for using Syncfusion Products.

you can achieve your requirement by setting Selection properties of GridTreeControl as follows.

Code Snipped[C#]

this.treeGrid.EnableSelections = true;
this.treeGrid.EnableNodeSelection = true;
this.treeGrid.EnableHotRowMarker = true;
this.treeGrid.ReadOnly = false;

We have prepared a sample based on this and you can find the sample under the following location:

Sample :

Please let us know if this helps.

Manikandan J R.

Murali Chandrasekaran
Replied On August 30, 2012 07:31 PM

We use Syncfusion GridTreeControl 10.2.   We leverage the grouping by marking the child and implementing the request tree items handler.

Every time we change the underlying collection, we dont want to refresh the grid such that we lose the collapse/expand state of all nodes. We want to refresh the grid with new data but retain its current state as it is - some nodes expanded, some nodes collapsed.

I call this after the binding refreshes


but only after I do mouseover the grid reflects the right parent/child with + sign.

How to achieve our use case ? Is there different method to call after underlynig data changes -without disturbing the expand/collapse state.


Saravanan M [Syncfusion]
Replied On January 2, 2014 07:33 AM

Hi Murali,

Sorry for delay causes,

We have analyzed your query. If you want to updated the underlying collection without losing the collapse/expand state in all nodes, you need to call the invalidatecell method.

Please refer the below codesnippet.




We have prepared a sample based on this and you can download it from below location,

Sample Location: Treegridsample.zip

 Please let us know if this solotion helps you,





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.