new List()
- Description:
Object list rendering
Methods
display(ctn, o, p, cbk)
- Description:
Build the object list
Parameters:
Name | Type | Description |
---|---|---|
ctn |
jQuery | parent container |
o |
Simplicite.UI.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.UI.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
rowTemplate(d, o, rowid, index, tpl, p, bindChange, onRowOpen, cbk)
- Description:
Dsiplay a row with a template
Parameters:
Name | Type | Description |
---|---|---|
d |
jQuery | row container |
o |
Simplicite.UI.BusinessObject | object definition |
rowid |
string | row ID |
index |
string | row index |
tpl |
string | template to parse with mapped fields and actions |
p |
Object | list/row parameters (row actions) |
bindChange |
function | bind change to save a editCell field |
onRowOpen |
function | handler to open the row |
cbk |
function | callback |
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.UI.BusinessObject | optional business object |
cbk |
function | optional callback |