[Progress Communities] [Progress OpenEdge ABL] Forum Post: RE: Menu Options

  • Thread starter Thread starter Radoslav Kirilov
  • Start date Start date
Status
Not open for further replies.
R

Radoslav Kirilov

Guest
Hi, Using kendo component in your case depends on your UX and business requirements. If you want to replace the side navigation you can try overriding the entire side-navigation view. Ang to use any kendo component which presents hierarchical data: For example: ... import sideNavigationTemplate from './../common/side-navigation-extended/index.html'; import sideNavigationController from './../common/side-navigation-extended/index.js'; // Import your custom modules here: export default angular.module('app.extensions.module', [ ]) .run(['$state', '$rootScope', function($state, $rootScope) { var state = $state.get('module.default'); if (state && state.views && state.views['side-navigation']) { state.views['side-navigation'].templateUrl = sideNavigationTemplate; state.views['side-navigation'].controller = sideNavigationController; } }]).name; Please note that I got sideNavigationTemplate and sideNavigationController from common/side-navigation-extended folder but you can put the view in a different place. I hope this helps. Best, Rado

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