[progress Communities] [progress Openedge Abl] Forum Post: Re: Kendo Listbox

  • Thread starter Thread starter Ricardo Perdigao
  • Start date Start date
Status
Not open for further replies.
R

Ricardo Perdigao

Guest
Hi, The customHTML section is for HTML only and Angular code placed inside it would not work properly. To trigger the events, you would need something like this: On the customHTML: " style="width:50px;margin-left:5px" /> On the controller.public.js: import BaseController from './controller.js' class CommunitiesSelectTransferCtrl extends BaseController { constructor($scope, $injector, stateData) { super($scope, $injector); } // Fired when custom html section is loaded includeContentLoaded() { /* btnRight */ angular.element('#btnRight').kendoButton({ click: function(){ console.log('btnRight'); }}); /* btnLeft */ angular.element('#btnLeft').kendoButton({ click: function(){ console.log('btnLeft') }}); } // Fired when custom html section loading failed includeContentError(e) { } // Fired when view content is loaded onShow($scope) { console.log('Show'); } } CommunitiesSelectTransferCtrl.$inject = ['$scope', '$injector', 'stateData']; export default CommunitiesSelectTransferCtrl Whenever I have some spare time, I will try to create this without using the customHTML. All the best, Ricardo Perdigao

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