I have a component what loads data from a database using a service and then gives that data to the tree view component. When i check a node the service updates the checked state in the database. I have a refresh button on the component what is used to download the latest states from the database ( this function loads the data on the first start too. ). When i check a parent node then it update the database but when I download it with the refresh button and gives it to the data source property then it appears wrong.
This is how it looks like when i check the 'Alagsor' node:
And this is how it looks like when i reload it from the api:
When i start my component I make a subscription to rendelok$ observable and when i get data from it i give it to the dateSource property of the treeview component
When the component starts, it downloads the data via subscribing to the fakeApiService.dataFromApi subject. If we push the refresh button it downloads the data again and load it into the datasource.
Steps to reproduce the problem:
for example uncheck "KEK telephely 01" > "Épület A"
then click the refresh button
the result should look like this:
but it look like this:
Thanks in advance,
ABAshokkumar Balasubramanian Syncfusion Team September 30, 2019 05:41 AM
We have validated the reported issue and the reported issue has been already resolved in our latest beta version. We suggest you upgrade the ej2-angular-navigations-packages to the latest 17.3.9-beta version to overcome the reported issue.