dataStateChange not triggering on expand (Treegrid)

Hello,

I have an issue with treegrid component. I was able to replicate it on yours Binding-Observerable-Data-to-an-Angular-TreeGrid example project.

I'm using a simple treegrid with childMapping. While using async pipe to retrieve data from TaskDataService (attached example), I'm unable to expand previously collapsed parent row of treegrid. It appears that dataStateChange is not triggering even though getTasks method in task-store.service.ts returns object with result and count.


What seems to be a problem?

Thank you kindly for your help!
Jamal

Attachment: dataStateChangetreegridissue_83db7c9c.zip

3 Replies

GL Gowri Loganathan Syncfusion Team March 4, 2020 06:56 AM UTC

Hi Jamal, 
 
Thanks for using Syncfusion Forum. 
 
Query#: DataStateChange event not get triggered on expand icon in treegrid while using custom binding 
 
From the shared sample, we could see that you have used hierarchy data binding(childMapping). For hierarchy data we don’t have support for custom binding feature in TreeGrid. 
 
We have mentioned the same in the below help documenatation, kindly refer it 
 
 
 
Please get back to us, if you need further assistance from us. 
 
Regards, 
Gowri V L. 
 



JF Jamal Furuku March 4, 2020 07:27 AM UTC

Thank you so much for clarification. I will use a self referential data then.


GL Gowri Loganathan Syncfusion Team March 5, 2020 05:15 AM UTC

Hi Jamal, 

Thanks for the update. 

Please get back to us, if you need more assistance from us. 

Regards, 
Gowri V L 


Loader.
Up arrow icon