|98566||Mar 9,2011 10:44 AM UTC||Jan 2,2014 12:33 PM UTC||WPF||3|
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.
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.
This page will automatically be redirected to the sign-in page in 10 seconds.