ParamQuery grid support forum

General Category => Help for ParamQuery Grid (free version) => Topic started by: ksoerens on November 17, 2014, 08:35:43 pm

Title: How to catch the horizontal scroll bar event?
Post by: ksoerens on November 17, 2014, 08:35:43 pm
Above my grid I have some dropdown lists - one for each column in the grid. If a horizontal scroll bar appears in the grid, I need to scroll the dropdowns as well.

I've tried something like this:

    $("div.pq-sb-horiz").on("pqscrollbarscroll", function (event, ui) {
      alert('scroll');
    });

and

    $('#grid_json').on("pqscrollbarscroll", function (event, ui) {
      alert('scroll');
    });

outside and inside the $(document).ready event.

But my functions never get triggered.

What am I doing wrong....?

Thanks in advance for your help  :)

Title: Re: How to catch the horizontal scroll bar event?
Post by: twoer on February 25, 2015, 03:31:11 pm
my pqscrollbarscroll function no don't work.