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",
}]
|