ParamQuery Grid
Welcome,
Guest
. Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Home
Help
Search
Login
Register
ParamQuery grid support forum
»
General Category
»
Help for ParamQuery Pro
»
value2 in filtering
« previous
next »
Print
Pages: [
1
]
Author
Topic: value2 in filtering (Read 1607 times)
orlando_acevedo
Pro Deluxe
Newbie
Posts: 27
value2 in filtering
«
on:
July 18, 2017, 10:41:24 pm »
For ranges, how do I get value2?
Specifically, I am filtering based on range on a date field (using pqDatePicker).
Thank you again.
Logged
paramvir
Administrator
Hero Member
Posts: 6310
Re: value2 in filtering
«
Reply #1 on:
July 19, 2017, 12:39:26 pm »
value2 is applicable only when condition is between, it's commonly used for dates, which means date beginning from value to value2.
Here is the example of between condition used in date filtering:
https://paramquery.com/pro/demos/filter_header_local
value2 is available as ui property inside a custom filter listener.
https://paramquery.com/pro/api#option-column-filter
https://paramquery.com/pro/demos/filter_date
Code:
[Select]
listeners: [{ 'change': function (evt, ui) {
var value = ui.value, value2 = ui.value2;
}
}]
Logged
Print
Pages: [
1
]
« previous
next »
ParamQuery grid support forum
»
General Category
»
Help for ParamQuery Pro
»
value2 in filtering