Smartclient 8.2 Power
I was using this code to ask for confirmation on remove of records:
but with 8.2 version is no longer working.
I was using this code to ask for confirmation on remove of records:
Code:
isc.ListGrid.changeDefaults("removeFieldDefaults",
{
recordClick: function(viewer, record, recordNum, field, fieldNum, value, rawValue) {
var callback = function(){viewer.removeData(record);};
isc.confirm("Remove record?", function(value) { if(value) {callback();} });
}
});
Comment