upend-treeview v0.3.22
upend-treeview
This is developed from the excellent work of leovo2708 It allows load ondemand from a backend data source with single select and single open branch It is configured using the config object. Please see https://github.com/CRanaboldo/ngx-treeview for useage
Data should be { "text": "", "value": "", "checkable": bool, "collapsed": bool, "disabled": bool, "hasChildren": bool, "children": [] } treeview-item has been altered accordingly
TreeviewConfig { hasAllCheckBox: bool; hasFilter: bool; hasCollapseExpand: bool; loadAll: bool; //used by server to load all tree branches(true) or load on expand (false) singleSelect: bool; // only one node can be selected at once singleExpand: bool; // only one branch open at each point maxHeight: num; treeToLoad: ""; //key used by data service to select root of tree from database url: ""; //url of data source }
Installation
To install this library, run:
$ npm install upend-treeview --save
License
MIT © Charles Ranaboldo
7 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago