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
»
PQGrid Filter : type="select" Localization and set default issues.
« previous
next »
Print
Pages: [
1
]
Author
Topic: PQGrid Filter : type="select" Localization and set default issues. (Read 249 times)
RamC
Pro Enterprise
Newbie
Posts: 7
PQGrid Filter : type="select" Localization and set default issues.
«
on:
May 01, 2024, 05:42:34 pm »
Hello, we are upgrading from ParamQuery Pro v3.3.0 ParamQuery Pro v9.1.1.
We have observed couple of modifications in new version,
1. Select Filter is displaying
key
instead of
value
for selected option. how to get display value instead of key?
2. How to set default option in new version.
3. The key value pair from option is now only accepting constants for key, so because of its localization does not work well.
I have gone through
https://paramquery.com/pro/demos/filter_custom
I have attached screen shots, for more clarity.
Any thoughts?
Logged
paramvir
Administrator
Hero Member
Posts: 6307
Re: PQGrid Filter : type="select" Localization and set default issues.
«
Reply #1 on:
May 02, 2024, 12:21:45 pm »
1) You are required to provide only the filter rules which constitutes filter condition and the initial filter value (optional ). rest of the filtering is taken care of by grid in Pro version as shown in the examples. You can check the upgrade guides for more insight.
If you have done any customization, then kindly share relevant code snippet or a jsfiddle.
2) Default or initial filter option is set by filter.value Example:
https://paramquery.com/pro/demos/filter_initial
3) Please use localization file for corresponding version only. Localization file for v3 may not work with v9. Kindly share a jsfiddle / stackblitz if still facing issues.
Logged
RamC
Pro Enterprise
Newbie
Posts: 7
Re: PQGrid Filter : type="select" Localization and set default issues.
«
Reply #2 on:
May 03, 2024, 06:42:09 pm »
Yes , working now. Added rules to set default filter.
And added key as [key] in option, so localization working now.
sample -
options: [ { [Key1]: value1 }, { [Key2]: value2 }, { [Key3]: value3 }]
Thank You .
Logged
Print
Pages: [
1
]
« previous
next »
ParamQuery grid support forum
»
General Category
»
Help for ParamQuery Pro
»
PQGrid Filter : type="select" Localization and set default issues.