BoldSignEasily embed eSignatures in your .NET applications. Free sandbox with native SDK available.
App.component.ts
ngOnInit(): void {
this.childGrid = {
queryCellInfo: function (args) {
if(args.column.headerText == 'Commands' && args.data.Freight > 30){ //add your condition
args.cell.getElementsByTagName('button')[0].remove(); //remove the element
}},
columns: [
{ headerText: 'Commands', width: 120, commands: [
{ buttonOption: {cssClass:'e-flat',iconCss: 'fa fa-pencil', click: this.onClick } }, //add the icons in custom Command
{ buttonOption: {cssClass:'e-flat',iconCss: 'fa fa-random', click: this.onClick } }]
},
],
};
} |