ParamQuery grid support forum

General Category => Help for ParamQuery Pro => Topic started by: TonyLeech on March 28, 2016, 07:05:36 pm

Title: Can't get your hide/unhide columns demo to work.
Post by: TonyLeech on March 28, 2016, 07:05:36 pm
I'm trying to hide/unhide columns using your demos32 example.

                $(".columnSelector").pqSelect({
                    checkbox: true,
                    multiplePlaceholder: 'Select visible columns',
                    maxDisplay: 100,
                    width: 'auto'
                });

Unfortunately at line...

                $(".columnSelector").pqSelect({

...I get the error message...

      Object doesn't support property or method 'pqSelect'

Is there a css/js file I have to include to get the pqSelect functionality?  Perhaps you can share your full html with me so I can be sure I'm calling the <script> in the right place.

Many thanks.
Title: Re: Can't get your hide/unhide columns demo to work.
Post by: paramvir on March 28, 2016, 07:15:35 pm
There is pqSelect plugin included in the SDK.

Please include pqselect.min.css and pqselect.min.js in the document.
Title: Re: Can't get your hide/unhide columns demo to work.
Post by: TonyLeech on March 28, 2016, 11:01:08 pm
Thank you.  I feel dumb for not looking back at those folders...I spent all the time looking to spot something on your demos, jsfiddles and APIs, and just couldn't see what I was missing.

As ever you have got me up and running again.