new Tree(app, ui, view)
- Description:
Treeview rendering
Parameters:
Name | Type | Description |
---|---|---|
app |
Simplicite.Ajax | Ajax service |
ui |
Simplicite.UI.Engine | Main UI controller |
view |
Simplicite.UI.View.Main | View services |
Methods
diff(ctn, p, data)
- Description:
Display a tree difference
Parameters:
Name | Type | Description | ||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
ctn |
String | jQuery | Optional container |
||||||||||||||||||||||||||||||
p |
Object | Options Properties
|
||||||||||||||||||||||||||||||
data |
Object | Difference tree |
display(ctn, o, id, tv, p, cbk)
- Description:
Object treeview rendering
Parameters:
Name | Type | Description |
---|---|---|
ctn |
jquery | container |
o |
Object | business object (where o.item is a tree) |
id |
string | row Id |
tv |
Object | treeview definition { name } |
p |
Object | options |
cbk |
function | optional callback |