new Prefs(app, engine, view)
- Description:
Object preferences rendering
Parameters:
Name | Type | Description |
---|---|---|
app |
Simplicite.Ajax | Ajax service |
engine |
Simplicite.UI.Engine | Main controller |
view |
Simplicite.UI.View.Main | View services |
Methods
display(ctn, o, p)
- Description:
Build the object preferences dialog
Parameters:
Name | Type | Description | |||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
ctn |
jQuery | parent container |
|||||||||||||||||||||||||||
o |
Simplicite.Ajax.BusinessObject | object |
|||||||||||||||||||||||||||
p |
Object | parameters Properties
|
userFilters(ctn, obj, id, p)
- Description:
Display the dialog of user global filters
Parameters:
Name | Type | Description |
---|---|---|
ctn |
string | jquery | optional container (dialog if null) |
obj |
Simplicite.Ajax.BusinessObject | UserFilters object |
id |
string | UserFilters id |
p |
Object | options { bar } |
userFiltersBadge(ctn, data, remove, click)
- Description:
Badge of a user filter
Parameters:
Name | Type | Description |
---|---|---|
ctn |
jQuery | badges container |
data |
Object | { dmin, dmax } or { field, value or values } |
remove |
function | optional handler to remove filter (if not required) |
click |
function | optional handler on click |
userFiltersTitle(ctn, obj)
- Description:
Title of user filters
Parameters:
Name | Type | Description |
---|---|---|
ctn |
string | jQuery | optional container (#userfilters if null) |
obj |
Simplicite.Ajax.BusinessObject | UserFilters object |