button onComplete
button onComplete

I am struggling with the correct syntax. I want to reload other grids on a page when a record is deleted. I tried this but it doesn't work and I can't find the documentation on how to make it work
buttons: [
{ extend: 'edit', editor: FundOrgDeptGroupDetailEditor },
{
extend: 'remove', editor: FundOrgDeptGroupDetailEditor
, onComplete: function () {
alert("reloading");
FundOrgDetailTable.ajax.reload();
UnAssignedFTETable.ajax.reload();
}
}
]
This question has an accepted answers - jump to answer
This discussion has been closed.
Answers
I would use the
postRemove
event for that. There's an example of an event being called here - that's forpostCreate
but it'll give you the idea.Colin
Perfect. thanks.