Frontmatter
| id | 5036 |
| title | tree.Accordion: Selection model in tree.Accordion doesn''t work |
| state | Closed |
| labels | bugstale |
| assignees | [] |
| createdAt | Oct 18, 2023, 3:56 PM |
| updatedAt | Sep 13, 2024, 4:28 AM |
| githubUrl | https://github.com/neomjs/neo/issues/5036 |
| author | pensuwan-k |
| commentsCount | 4 |
| parentIssue | null |
| subIssues | [] |
| subIssuesCompleted | 0 |
| subIssuesTotal | 0 |
| blockedBy | [] |
| blocking | [] |
| closedAt | Sep 13, 2024, 4:28 AM |
tree.Accordion: Selection model in tree.Accordion doesn't work

tobiu
Oct 19, 2023, 1:05 PM
hi @pensuwan-k,
i added a "Remove DOM" button into the example:
When I drop the DOM back in, the selection is still in place. We need a reproducible testcase.
@pensuwan-k - 2023-10-19T13:43:45Z
After updating the store data (something like accordion.store.data = accordion.store.data.splice(0,6);), the selectionModel should be empty.
The styling of the selected record doesn't get applied after the data for the tree.Accordion get updated. It crashes in card layout context. The selection applied, get kick out of DOM, drop it back in, lost.