BoldSignEasily embed eSignatures in your .NET applications. Free sandbox with native SDK available.
function contextClickServerStorage(args) {
console.log('args ' + args.ID);
console.log('selected items ' + this.getSelectedRecords().length);
// remove repeated items
var result = _.uniq(this.getSelectedRecords(), 'Id');
console.log('cleaned selected items ' + result.length);
//console.log('details ' + JSON.stringify(result));
switch (args.ID) {
case "1"://Download
contextDownloadOption(result);
break;
case "2"://Check Group Security
contextGroupSecurityOption(result);
break;
case "3"://Maintenance View
contextMaintenanceViewOption(result);
break;
case "4"://Notify updated
contextNotificationViewOption(result);
break;
case "5"://Open file
contextOpenFileOption(result);
break;
}
}
function contextOpenServerStorage(args) {
if (!ej.isNullOrUndefined(rowIndex)) {
this.selectRows(rowIndex);
console.log(this.selectRows(rowIndex));
//this.getRowByIndex(rowIndex[0]).css("color", "red");
}
}