Expose onSelect event to Tree component
See original GitHub issueHi James,
I need to listen for the tree node select event via the Tree component. Would it be possible to add this?
My use case is I’m using check-boxes to select multiple tree nodes using the handlers.select
which has shift-click but I only want one event to fire.
Kind regards, Marten
Issue Analytics
- State:
- Created a year ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
Support onPressEnter event for TreeSelect component #12955
The tree select component based on rc-tree-select. It has its own default search handler and change handler. Here is an example based on...
Read more >Customize Actions - Getting Started
Angular Tree Component comes with a default mapping of mouse events and key events to actions. For example - click on the node...
Read more >Tree component onSelect performs load on demand (onOpen ...
The tree lists the items from the database (3 data types). This tree component uses the load-on-demand features where the node class method, ......
Read more >Perspective Event Types Reference - Ignition User Manual 8.0
Perspective Events provide the opportunity to handle any type of user input or session event as you see fit.
Read more >How to bind event listener for rendered elements in Angular 2?
import { AfterViewInit, Component, ElementRef} from '@angular/core'; constructor(private elementRef:ElementRef) {} ngAfterViewInit() { this.elementRef.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Yes! This is in the works.
Awesome. That makes sense. The selection prop in version 2 will do exactly what you want. That was my use case as well.
Mine was like VSCode where you have tabs and each time you switch tabs, I wanted the selection to change to match the tab.