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
»
Load the Grid Fields Selection dialog from a button click
« previous
next »
Print
Pages: [
1
]
Author
Topic: Load the Grid Fields Selection dialog from a button click (Read 337 times)
mikep
Pro Ultimate
Full Member
Posts: 163
Load the Grid Fields Selection dialog from a button click
«
on:
September 24, 2024, 06:18:40 pm »
I need to open the Grid Fields selection dialog from a button click event instead on clicking on the column hamburger icon. How can this be accomplished?
«
Last Edit: September 24, 2024, 06:20:45 pm by mikep
»
Logged
paramvir
Administrator
Hero Member
Posts: 6307
Re: Load the Grid Fields Selection dialog from a button click
«
Reply #1 on:
September 26, 2024, 10:01:16 pm »
Since there is no API for it, you can trigger a click.
Code:
[Select]
grid.getCellHeader({dataIndx: field_name }).find(".pq-icon-menu").click();
Logged
mikep
Pro Ultimate
Full Member
Posts: 163
Re: Load the Grid Fields Selection dialog from a button click
«
Reply #2 on:
October 01, 2024, 05:50:54 pm »
Thank you. Can you update the button click in what I've tried?
https://jsfiddle.net/mkb0xevh/
Logged
paramvir
Administrator
Hero Member
Posts: 6307
Re: Load the Grid Fields Selection dialog from a button click
«
Reply #3 on:
October 01, 2024, 06:45:03 pm »
Sorry it's ".pq-menu-icon"
Here is the jsfiddle:
https://jsfiddle.net/1Lbe5rp7/
Logged
Print
Pages: [
1
]
« previous
next »
ParamQuery grid support forum
»
General Category
»
Help for ParamQuery Pro
»
Load the Grid Fields Selection dialog from a button click