Skip to content

How to delete item by Keyboard Bindings #29

Answered by lukasbach
mingchi21 asked this question in Q&A
Discussion options

You must be logged in to vote

No, the lifecycle of items, such as item deletion, is not handled by rct, but you can do that yourself from the outside, e.g. by providing your data in a custom data provider and notifying subscribers with onChangeItemChildren that an item was removed on parents, or by using an ControlledTreeEnvironment and managing the complete item state yourself.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by lukasbach
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants