Function Library
Topic |
Method |
---|---|
absl |
|
aget |
|
ajax |
|
apost |
apost(url, data, callback, options={}) A wrapper for ux.ajax (POST) |
appTitleMenu |
appTitleMenu(action,id,title,callback) Manipulate the app menu dropdown entries |
autocomplete |
autocomplete(id, url, options) Add auto-complete functionality to any input box. |
click |
|
dgrid |
|
dialog |
|
focus |
|
formatNumber |
formatNumber(Number,CountOfDecimals,UseGrouping) Convet Number to local string fomrat with defined decimal places |
getElement |
|
listen |
|
loading |
loading(display) Show a loading mask to avoid the user click on any control |
saveAll |
|
set |
set(idName, status, options) Provide a visual feedback to the input controls |
tabs |
|
toJson |
toJson(string,boolean quoted) convert string to JSON String (convert ' to '') |
Date Tiem Functions
Topic |
Method |
---|---|
getDate() |
return company Date/Time as Date object |
getToday(Separator,Date) |
|
getTime(Separator,Time) |
GetTime(json date astring): return time as local string |
jsonDate2local |
jsonDate2local(d) convert JSON Date to local date string |
jsonDateTime2local |
jsonDateTime2local(d) convert Json DateTime String to local date time string |
min2time |
min2time(Minutes) return string in format "x Days hh:mm" |
sec2time |
sec2tome(Seconds) return string in format "x Days hh:mm:ss" |