ParamQuery grid support forum
General Category => Help for ParamQuery Pro => Topic started by: stoodin on April 17, 2014, 12:52:11 am
-
Hi,
I would like to collapse the grid by default and show just a header to allow user to expand it when they need. I just can't find any events/method to do so.
Could you give me a hint, please?
Thank you
-
Any chance you can answer that?
I just need to know how to collapse/expand the grid from the code rather than clicking on the icon.
Thank you very much.
-
There is no API for it currently.
you may use jQuery to click on the icon programmatically.
$(".pq-slider-icon .ui-icon", $grid ).click();
Please note the code is not tested. You may need to check it.
-
Great, Fantastic.
That is exactly what I need and it works just fine.
Many thanks.