Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

How to delete item by Keyboard Bindings #29

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

Can I delete selected item by Keyboard Bindings?

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

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.

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

AltStyle によって変換されたページ (->オリジナル) /