Skip to content

onclick events data in salesforce #1032

Answered by ghiscoding
rishachilles asked this question in Q&A
Discussion options

You must be logged in to vote

you can find the answer if you read the Wikis and search on Stack Overflow, some event only return the row/cell, then you need to use the DataView to get associated datacontext

see Slickgrid, how to get the grid item on click event?

handleOnCellClicked(event) {
    const args = event?.detail?.args;
    const eventData = event?.detail?.eventData;
    const dataContext = this.sgb.dataView.getItem(args.row);
}

Please search through the Wikis and/or ask questions on Stack Overflow which is a better platform to ask questions. SlickGrid is used by thousands of people, there are other people who can answer your questions

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by ghiscoding
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