settings : {
locale : "en-us",
dateFormat : "mm/dd/yyyy",
timeFormat : "hh:mi pm",
currencyPrefix : "$",
currencySuffix : "",
currencyPrecision : 2,
groupSymbol : ",",
decimalSymbol : ".",
shortmonths : ["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],
fullmonths : ["January", "February", "March", "April", "May", "June", "July", "August",
"September", "October", "November", "December"],
shortdays : ["M", "T", "W", "T", "F", "S","S"],
fulldays : ["Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday", "Sunday"],
weekStarts : "M", // can be "M" for Monday or "S" for Sunday
dataType : 'HTTPJSON', // can be HTTP, HTTPJSON, RESTFULL, RESTFULLJSON, JSON
phrases : {} // empty object for phrases
warnNoPhrase : true, // warns if a phrase translation is missing
dateStartYear : 1950, // start year for date-picker
dateEndYear : 2020 // end year for date picker
}
xxxxxxxxxx
request: {
"limit":100,
"offset":0,
"searchLogic":"AND",
"search":[
{"field":"age", "type":"int", "operator":"between", "value":[10,20]},
{"field":"fname", "type":"text", "operator":"begins", "value":"vitali"}
],
"sort":[
{"field":"fname", "direction":"asc"},
{"field":"lname", "direction":"asc"}
]
}
xxxxxxxxxx
limit: 100
&offset: 0
&searchLogic: AND
&search[0][field]: age
&search[0][type]: int
&search[0][operator]: between
&search[0][value][]: 10
&search[0][value][]: 20
&search[1][field]: fname
&search[1][type]: text
&search[1][operator]: begins
&search[1][value]: vitali
&sort[0][field]: fname
&sort[0][direction]: asc
&sort[1][field]: lname
&sort[1][direction]: asc
xxxxxxxxxx
limit: 100
&offset: 0
&searchLogic: AND
&search[0][field]: age
&search[0][type]: int
&search[0][operator]: between
&search[0][value][]: 10
&search[0][value][]: 20
&search[1][field]: fname
&search[1][type]: text
&search[1][operator]: begins
&search[1][value]: vitali
&sort[0][field]: fname
&sort[0][direction]: asc
&sort[1][field]: lname
&sort[1][direction]: asc
xxxxxxxxxx
{
"limit":100,
"offset":0,
"searchLogic":"AND",
"search":[
{"field":"age", "type":"int", "operator":"between", "value":[10,20]},
{"field":"fname", "type":"text", "operator":"begins", "value":"vitali"}
],
"sort":[
{"field":"fname", "direction":"asc"},
{"field":"lname", "direction":"asc"}
]
}
xxxxxxxxxx
{
"limit":100,
"offset":0,
"searchLogic":"AND",
"search":[
{"field":"age", "type":"int", "operator":"between", "value":[10,20]},
{"field":"fname", "type":"text", "operator":"begins", "value":"vitali"}
],
"sort":[
{"field":"fname", "direction":"asc"},
{"field":"lname", "direction":"asc"}
]
}