Unplanned
Last Updated: 30 Jul 2026 05:54 by John
John
Created on: 30 Jul 2026 05:54
Category: Grid
Type: Bug Report
0
Grid wont scroll

In version 2026.1.218.462 the Grid cannot scroll vertically. To work around  it, you can overwrite the built-in function used for scrolling:

<script type="text/javascript">
    Sys.Application.add_init(function () {
        Telerik.Web.UI.GridScrolling.prototype._createTouchScrollExtender = function (toCreate) {
            var contentElement = this._owner.GridDataDiv;

            if (contentElement) {
                var control = this._dropDownTouchScroll;

                if (control) {
                    if (!toCreate) {
                        control.dispose();
                        this._dropDownTouchScroll = null;
                    }
                } else if (toCreate) {
                    this._dropDownTouchScroll = new Telerik.Web.UI.TouchScrollExtender(contentElement);
                    this._dropDownTouchScroll.initialize();

                    if (this.AllowScroll) {
                        contentElement.style.overflow = 'auto';
                    }
                }
            }
        };
    });
</script>

 

0 comments