Hi williamtourinho,
Do determine whether the user is scrolling, you can use the Scrollbars ‘isScrolling’ method.
Example:
$("#jqxgrid").jqxGrid( { width: 670, source: dataAdapter, theme: theme, ready: function() { var vScrollBar = $("#jqxgrid").jqxGrid('vScrollBar'); var hScrollBar = $("#jqxgrid").jqxGrid('hScrollBar'); var isVScrolling = vScrollBar.jqxScrollBar('isScrolling'); var isHScrolling = hScrollBar.jqxScrollBar('isScrolling'); }, columnsresize: true, columns: [ { text: 'Name', dataField: 'firstname', width: 100 }, { text: 'Last Name', dataField: 'lastname', width: 100 }, { text: 'Product', editable: false, dataField: 'productname', width: 180 }, { text: 'Quantity', dataField: 'quantity', width: 80, cellsalign: 'right' }, { text: 'Unit Price', dataField: 'price', width: 90, cellsalign: 'right', cellsformat: 'c2' }, { text: 'Total', dataField: 'total', cellsalign: 'right', minwidth: 100, cellsformat: 'c2' } ] });
Best Regards,
Peter Stoev
jQWidgets Team
http://www.jqwidgets.com