Skip to content

OnCellChange Event capture in salesforce #1004

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

You must be logged in to vote

Yeah some part of the docs came from Angular-Slickgrid and with Angular we have access to the event directly in the View (html) so we can do something like this (onCellChange)="onCellChanged($event.detail.eventData, $event.detail.args)" (notice the 2 arguments) but we can't this in Salesforce because it doesn't allow any arguments in the View (html) which sucks but we have to live with Salesforce restructions. So how do we get the args then? You can find the args inside the event itself (which equals to what we can do in Angular but it comes from the event in the JS code instead of HTML).

So I updated 1 of the Wikis with the correct info, see Grid & DataView Events

handleOnCellChanged(event)

Replies: 2 comments 8 replies

Comment options

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

@saiviswas94
Comment options

Answer selected by ghiscoding
Comment options

You must be logged in to vote
6 replies
@ghiscoding
Comment options

@saiviswas94
Comment options

@saiviswas94
Comment options

@saiviswas94
Comment options

@ghiscoding
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