new Prefs()
- Description:
Object preferences rendering
Methods
bookmarks(ctn, bm, p)
- Description:
Display the user's bookmarks
Parameters:
Name | Type | Description |
---|---|---|
ctn |
string | jquery | optional container (default popup) |
bm |
Object | bookmarks |
p |
Object | options show=top|bottom |
display(ctn, o, p)
- Description:
Build the object preferences dialog
Parameters:
Name | Type | Description | |||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
ctn |
jQuery | parent container |
|||||||||||||||||||||||||||
o |
Simplicite.UI.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.UI.BusinessObject | UserFilters object |
id |
string | UserFilters id |
p |
Object | options |
userFiltersBadge(ctn, data, remove, click)
- Description:
Badge of a user filter
Parameters:
Name | Type | Description |
---|---|---|
ctn |
jQuery | badges container |
data |
Object |
|
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.UI.BusinessObject | UserFilters object |