Tray

Simplicite.UI. Tray

new Tray(app, ui)

Description:
  • Tray controller

Parameters:
Name Type Description
app Simplicite.Ajax

Ajax service

ui Simplicite.UI.Engine

Main UI controller

Methods

display(ctn, obj, fld, options, cbk)

Description:
  • Display a tray based on a enum field

Parameters:
Name Type Description
ctn

Container

obj

Business object or name

fld

Optional enum field (default = status field)

options

Optional

cbk

Optional callback

displayStateModel(ctn, obj, options, cbk)

Description:
  • Display a tray based on a state-model

Parameters:
Name Type Description
ctn

Container

obj

Business object or name

options

Optional

cbk

Optional callback

dragDrop()

Description:
  • Manage the drag & drop