Name Description Size
LabelCell.js Render the default cell used for toggle buttons 2262
moz.build 369
ObjectProvider.js Implementation of the default data provider. A provider is state less object responsible for transformation data (usually a state) to a structure that can be directly consumed by the tree-view component. 2040
TreeCell.js This template represents a cell in TreeView row. It's rendered using <td> element (the row is <tr> and the entire tree is <table>). 3999
TreeHeader.js This component is responsible for rendering tree header. It's based on <thead> element. 3083
TreeRow.js This template represents a node in TreeView component. It's rendered using <tr> element (the entire tree is one big <table>). 9099
TreeView.css / /* TreeView Colors 5104
TreeView.js This component represents a tree view with expandable/collapsible nodes. The tree is rendered using <table> element where every node is represented by <tr> element. The tree is one big table where nodes (rows) are properly indented from the left to mimic hierarchical structure of the data. The tree can have arbitrary number of columns and so, might be use as an expandable tree-table UI widget as well. By default, there is one column for node label and one for node value. The tree is maintaining its (presentation) state, which consists from list of expanded nodes and list of columns. Complete data provider interface: var TreeProvider = { getChildren: function(object); hasChildren: function(object); getLabel: function(object, colId); getLevel: function(object); // optional getValue: function(object, colId); getKey: function(object); getType: function(object); } Complete tree decorator interface: var TreeDecorator = { getRowClass: function(object); getCellClass: function(object, colId); getHeaderClass: function(colId); renderValue: function(object, colId); renderRow: function(object); renderCell: function(object, colId); renderLabelCell: function(object); } 24418