Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
760
Scroll problem
posted

Hello,

When there are many records in a grid and a scrollbar appears on the IE then if the mouse cursor is on the grid the mouse wheel does not work. If we move the mouse away from grid and somewhere else on the form then the mouse wheel works and we are able to scroll.

Could you please help.

Tahir

Parents
  • 14049
    Suggested Answer
    Offline posted

    Hello Tahir,

    Yes, you are correct. Sorry about that. I will make sure to correct it in the code.

    In the meantime you can override the prototype method to bypass mousewheel handler. This script should be at the bottom of the page:

         </form>

    <script type="text/javascript">

    $IG.WebDataGrid.prototype._oldOnMouseWheel = $IG.WebDataGrid.prototype._onMouseWheel;

    $IG.WebDataGrid.prototype._onMouseWheel = function(evnt)

    {

          if (this._container.scrollWidth <= this._container.clientWidth)

                return;

          this._oldOnMouseWheel(evnt);

    }

    </script>

    </body>

    </html>

     

     

Reply Children