Unplanned
Last Updated: 21 Aug 2024 08:25 by ADMIN
Alessandro
Created on: 15 Aug 2024 00:30
Category: Drawer
Type: Feature Request
1
Programmatically Collapse/Expand Hierarchical Drawer Items

In the Hierarchical drawer, there should be a way to programmatically collapse or expand the drawer items.

Being able to manually trigger the `isItemExpanded` check would be helpful in this. The conditions that make an item expanded could be changed and then the check triggered. For example, if the callback is:

isItemExpanded: DrawerItemExpandedFn = (item): boolean => {
    return this.expandedIndices.indexOf(item.id) >= 0;
  }
The `expandedIndices` could be emptied, `isItemExpanded` triggered, and that would cause the items to collapse. 
1 comment
ADMIN
Martin Bechev
Posted on: 21 Aug 2024 08:25

Hello Alessandro,

Thank you for the provided feedback.

We will track the customer demands for this enhancement and consider adding it to the roadmap based on the interest.

Regards,
Martin Bechev
Progress Telerik

Do you have a stake in the designеr-developer collaboration process? If so, take our survey to share your perspective and become part of this global research. You’ll be among the first to know once the results are out.
-> Start The State of Designer-Developer Collaboration Survey 2024