I have this snippet that i want to use as Row Action to clear a Date field’s value But not really sure how to get it to work on current row from which i clicked the action
This work well for 1st record of a table or on a detail page. But not on any row after the first one
I Understand it’s because of ‘model.getFirstRow()’ but looking at the model api documentation, I could not find what I should use instead
Hey Dave! I believe I may be able to point you in the right direction here, but I’m also fairly new to the Javascript world… In your snippet on the row you could select the specific row in say a Contact List for example by setting your variable to: //This variable selects the rows Id field. var contactId = params.item.row.Id; Technically with this then you could set your variable to a value in the row and then run the updateRow method on it. Thanks, Jeff Rutter