I tried to define “onClick” property of a datatable dynamically on a class “editLink” (first column having template : ) in the following way :
var editQuoteEvent = {
“editLink”:function(){
console.log(“coming under new event defined”);
}
};
root.$$(“quotationsRecordsDT”).define(“onClick”,editQuoteEvent);
But this didn’t workout for me.
Any help would be greatly appreciated.