Skip to content

Please surface click handlers in charts #3958

Answered by GordonSmith
clewisln asked this question in Q&A
Discussion options

You must be logged in to vote

The general pattern for event is normally:

const panel = new CustomPanel()
    .on("click", (row, column, selected) => {
        ... custom handler logic here
    });

And if you want to prevent propagation:

const panel = new CustomPanel()
    .on("click", (row, column, selected) => {
        ... custom handler logic here
    }, true);

Replies: 3 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Answer selected by clewisln
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@GordonSmith
Comment options

@GordonSmith
Comment options

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
Converted from issue

This discussion was converted from issue #3957 on April 14, 2022 07:14.