Unplanned
Last Updated: 26 Nov 2019 13:47 by James
ADMIN
Yana
Created on: 08 Nov 2018 10:43
Category: TreeView
Type: Feature Request
2
TreeView: Provide a way to expand/collapse items in a MVVM manner
Currently this could be accomplished through methods.
1 comment
James
Posted on: 26 Nov 2019 13:47

This is very important. Here's just 2 use cases:

By allowing this to bind to our own property instead of yours we can control that and easily set the state on the api side in the returned json that the model is built from.

1. User has expanded and contracted the list before, and we want it to maintain it's state for the next time they use it.
2. The tree shows a completion, in our case of course/topic/lesson and we want to contract all courses and topics where all child lessons are completed and only expand the first course and topic that has incomplete lessons in it.