title: How to make scrollbar auto enabled or disabled in a Kendo grid?
body: <p>This is my code for creating the grid:</p>
  
  <pre><code>@{
      if (Model.GenericEntityList.Count &gt; 0)
      {
          @(Html.Kendo().Grid(Model.GenericEntityList).Name(screenNames.ToString()).Columns(
                columns =&gt;
                    {
                        columns.Bound(a =&gt; a.ID).Title("&lt;input id='checkAll' type='checkbox' /&gt;").ClientTemplate("&lt;input type='checkbox' id=#=genericCheckbox(ID,ViewFlag)#").Width(7);
                        columns.Bound(a =&gt; a.Name).Title(screen.ToString() + " Name").Width(93);
                    }
                ).Selectable().Scrollable().DataSource(
                    datasource =&gt;
                    datasource.Ajax().Read(read =&gt; read.Action("CompSetHide", "Compset"))
                ).Events(a =&gt; a.Change("rowclick")
                )
                .HtmlAttributes(new {style = "height: 185px;"}) 
                )
      }
  }
  </code></pre>
  
  <p>How can I disable and enable the vertical scrollbar that appears inside the kendo grid automatically? </p>