new List(app, ui, view)
- Description:
Object list 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
display(ctn, o, p, cbk)
- Description:
Build the object list
Parameters:
Name | Type | Description |
---|---|---|
ctn |
jQuery | parent container |
o |
Simplicite.Ajax.BusinessObject | object |
p |
Simplicite.UI.Globals.list | optional parameters |
cbk |
function | optional callback |
exportDialog()
- Description:
Display the export options
keydown(x, e)
- Description:
List navigation thru arrow keys
Parameters:
Name | Type | Description |
---|---|---|
x |
jQuery | list element |
e |
object | keydown event |
placemap()
- Description:
Place map with markers
renderValue(o, rowid, f, v, item, p, onopen, index)
- Description:
Read only content on list
Parameters:
Name | Type | Description |
---|---|---|
o |
Simplicite.Ajax.BusinessObject | Object definition |
rowid |
string | record row ID |
f |
Simplicite.Ajax.ObjectField | Field |
v |
string | Object | Field value |
item |
Object | Optional item of list of values |
p |
Object | Optional parameters (followlink, etc.) |
onopen |
function | Optional handler on click |
index |
string | Optional index of edit-list |
row()
- Description:
Single list row
selectRow()
- Description:
Select list rows handler
stickyHeader(ctn, div, thead)
- Description:
Bind scroll to set the sticky header of table
Parameters:
Name | Type | Description |
---|---|---|
ctn |
jQuery | main container |
div |
jQuery | form container with a scrollable parent |
thead |
jQuery | table header |
summary(ctn, mo, o, cbk)
- Description:
Object summary
Parameters:
Name | Type | Description |
---|---|---|
ctn |
jQuery | container |
mo |
Object | meta-object data |
o |
Simplicite.Ajax.BusinessObject | optional business object |
cbk |
function | optional callback |