[progress Communities] [progress Openedge Abl] Forum Post: Re: Grid With Custom Button

  • Thread starter Thread starter egarcia
  • Start date Start date
Status
Not open for further replies.
E

egarcia

Guest
Hello Louis, I also see error "Error: transition superseded". My guess is that it is related to the button being a hyperlink. It should work though. See www.telerik.com/.../custom-toolbar-button-with-angularjs We should report the errors to technical support so that the issue can be investigated. I also tried to use k-options but I got error again. I found the following approach to work. In your constructor (I am assuming a custom view), you can run the following code: this.$components.grid0.options.toolbar.push({ name: "resequence", template: " Resequence " }); cancelWatch = $scope.$watch(function () { var element = angular.element("#resequence"); if (element.html()) { return element; } else { return undefined; } }, function (element, oldValue) { if (element) { element[0].onclick = function() { console.log("DEBUG:"); }; cancelWatch(); } }); I hope this helps, Edsel

Continue reading...
 
Status
Not open for further replies.
Back
Top