-
Can I delete selected item by Keyboard Bindings? |
Beta Was this translation helpful? Give feedback.
Answered by
lukasbach
Mar 30, 2022
Replies: 1 comment
-
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 |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
lukasbach
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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 anControlledTreeEnvironment
and managing the complete item state yourself.