Hi,
How to cancel of the delete operation in RowDeleting event? I tried (without success) to:
$(".selector").igGrid({
features : [
{
rowDeleting: function(evt, ui){
return false;
}
]
});
Thanks,
Dusan.
Hello Dusan,
You can try with this code:
$(".selector").igGrid({ features : [ { name: "Updating", rowDeleting: function(evt, ui){ return false; } } ]});
The rowDeleting handler should be in the Updating feature configuration object literal. Also if you're using the igGridUpdating.deleteRow API the rowDeleting event won't fire, because API methods do not rise events (this is a design decision).
Hope this helps,Martin PavlovInfragistics, Inc.