I'm using react to pass the resources data, but there are two issues in components.
When I passed children: true, the WalkHelper.preWalkWithParent will report slice undefined.
And there is no expand icon on grid.
I have to make these two changes in StoreSync.syncTreeDataset and WalkHelper.preWalkWithParent.
I'm not sure this is the way it should be fixed, but hopefully this will be fixed officially.
Re: [REACT] On demand load issue in grid
Posted: Sun Jan 09, 2022 10:59 am
by htmg27fg
There are more issues in components that prevent me to implement on demand loading with react states.
Re: [REACT] On demand load issue in grid
Posted: Sun Jan 09, 2022 12:31 pm
by mats
Could you please upload a small test case showing the data you load to the tree component? That would help us find the root cause quickly.
There are more issues in components that prevent me to implement on demand loading with react states.
If you can open a new thread for each issue found, we'll look into each issue promptly!
Re: [REACT] On demand load issue in grid
Posted: Sun Jan 09, 2022 1:48 pm
by mats
I'm using react to pass the resources data, but there are two issues in components.
When I passed children: true, the WalkHelper.preWalkWithParent will report slice undefined.
And there is no expand icon on grid.
If you can open a new thread for each issue found, we'll look into each issue promptly!
There are issues in TreeNode when children changed from true to [c1, c2, c3].
And the expand icon in grid will not be hidden when true becomes undefined.
I think all these issues logically belong to the same feature/ticket.
Reproduced, ticket opened: Resolved v4.3.6 #3987 StoreSync fails when using tree data with lazy loaded parent nodes
When is this new version will be released?
Re: [REACT] On demand load issue in grid
Posted: Thu Jan 13, 2022 8:05 am
by alex.l
Hi htmg27fg,
We cannot provide the exact dates, but usually we do releases every 2-3 weeks.
Re: [REACT] On demand load issue in grid
Posted: Thu Jan 13, 2022 3:07 pm
by htmg27fg
I tested the newest v4.3.6, some issues still exists.
What I expected:
expand icon visible: children === true || isArray(children)
expand icon invisible: children === undefined