Hi,
I notices that if you expand all data using the 'expandAllData' method, the state is not restored after the 'updateData'.
I solved by checking the expanded state of the slice and, if necessary, calling expandAllData right after the 'updateData' but I think this is not the right behavior.
Indeed, if you expand only one node (ore more) or if you use the 'expandData(hierarchyName)' method, the state is correctly restored after the update.
Could you please fix it?
Thank you!
Best regards,
Ilaria
Hello, Ilaria,
Thank you for writing to us.
We have not managed to reproduce the issue you have encountered.
Could you please modify the following JSFiddle example so that the issue is reproducible: https://jsfiddle.net/flexmonster/hx2rqL1t/?
We are looking forward to hearing from you.
Best Regards,
Vera
Sorry,
I forgot to mention that I call a partial update. Here's the updated JSFiddle.
Thank you!
Best regards,
Ilaria
Hello, Ilaria,
Thank you for your reply.
The issue is reproducible on our end.
Our development team will provide the fix for this in the minor release with the ETA 29th of July.
You are welcome to contact us in case of further questions.
Best Regards,
Vera
Hello, Ilaria,
We are glad to inform you that the issue with losing expandAll
option after partial updating with updateData()
was fixed.
This is included in the 2.7.11 version of Flexmonster: https://www.flexmonster.com/release-notes/.
You are welcome to update the component: https://www.flexmonster.com/doc/updating-to-the-latest-version/.
Please let us know if everything works.
Best Regards,
Vera