When designing a mobile interface using the mobile composer, how do you create a ‘Delete’ record button?
Page 1 / 1
Currently this requires a JavaScript Snippet like this:
var params = arguments[0],<br> model = params.model,<br> row = params.item ? params.item.row : params.row;<br>if (model && row) {<br> model.deleteRow(row);<br> model.save();<br>} else {<br> console.error('could not find a model or row');<br>}
We’re working on releasing an action to do this natively in the Action Framework.
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.