Author Topic: Can't get your hide/unhide columns demo to work.  (Read 2450 times)

TonyLeech

  • Pro Enterprise
  • Jr. Member
  • *
  • Posts: 76
    • View Profile
Can't get your hide/unhide columns demo to work.
« 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.

paramvir

  • Administrator
  • Hero Member
  • *****
  • Posts: 6260
    • View Profile
Re: Can't get your hide/unhide columns demo to work.
« Reply #1 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.

TonyLeech

  • Pro Enterprise
  • Jr. Member
  • *
  • Posts: 76
    • View Profile
Re: Can't get your hide/unhide columns demo to work.
« Reply #2 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.