Tree

Simplicite.UI.View. Tree

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
Name Type Description
name string

Root object name

id string

Root object Id

local string

Local name

remote string

Remote name

uri string

Remote URI to push patch

login string

Remote login

pwd string

Remote pwd

preview string | function

Preview action or service (type, json)

apply string | function

Apply service (type, xml)

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