Thread ID: |
Created: |
Updated: |
Platform: |
Replies: |
140792 | Nov 7,2018 11:26 AM UTC | Nov 19,2018 04:14 AM UTC | Angular - EJ 2 | 5 |
![]() |
Tags: Treeview |
public hierarchicalData: Object[] = [{
"nodeId": "00",
"nodeText": "Overview",
"icon": "icon icon-dashboard",
"expanded": false,
"enabled": true,
"selected": false,
"tooltip": null,
"nodeChild": null
}] |
public navigateanotherPage(args){
let data:any = this.treeview.getTreeData(args.node);
window.location.rel='nofollow' href = <string>data[0].navigateUrl;
} |
this.field = { dataSource: this.hierarchicalData, id: 'nodeId', text: 'nodeText', child: 'nodeChild', expanded: 'expanded', selected: 'selected', navigateUrl:"" };
|
[{
"nodeId": "00",
"nodeText": "About",
"url": "about",
}]
|
This post will be permanently deleted. Are you sure you want to continue?
Sorry, An error occured while processing your request. Please try again later.
This page will automatically be redirected to the sign-in page in 10 seconds.