I would like the grid to not display the vertical scroll bar if there is not enough information in the grid to warrant it being there. So that the vertical scroll will work like the horizontal scroll which is set to auto. I think that this behavior should be added to the kendo grid and included in a upcoming release.
I was able to do this by extending the Grid widget. Which sets the (".k-grid-content").css("overflow-y", "auto") and either adds or removes the padding on the (".k-grid-header") depending on if the scroll is there or not.
See code below:
$(function () { MyGrid = kendo.ui.Grid.extend({ element: null, _rightPaddingHeader: 0, options: { name: "MyGrid" }, init: function (element, options) { var that = this; kendo.ui.Grid.prototype.init.apply(that, [element, options]); that.element = $(element); that.bind("dataBound", that._dataBound); //hide the scrollbar if not needed. that._rightPaddingHeader = $(element).find(".k-grid-header").css("padding-right"); $(element).find(".k-grid-content").css("overflow-y", "auto"); that._setScrollBars(that); }, //fired when data is bound to the grid. _dataBound: function () { var that = this; that._setScrollBars(that); }, _setScrollBars: function (grid) { //found with webkit browsers need to hide and show inorder for style changes to take efect :( $(grid.element).find(".k-grid-header").hide(); if ($(grid.element).find(".k-grid-content").hasScrollBarVertical()) { $(grid.element).find(".k-grid-header").css("padding-right", grid._rightPaddingHeader); } else { $(grid.element).find(".k-grid-header").css("padding-right", "0px"); } $(grid.element).find(".k-grid-header").show(); } }); kendo.ui.plugin(MyGrid); });//Function to check is a element has a Vertical scrollbar. (function ($) { $.fn.hasScrollBarVertical = function () { var results = true; //for IE and FF do it this way if (this.scrollHeight != undefined) { results = this.scrollHeight > this.clientHeight; } else { // else for webkit do it like this. results = this.get(0).scrollHeight > this.get(0).clientHeight; } return results; }; })(jQuery);