title: How to set column width to autofit in Kendo Grid MVC
body: <blockquote>
    <p>I use to my page of Kendo grid that have multi columns.<br>
    I want set a column width to autofit and change width automatically.<br>
    Plz help me , thanks</p>
  </blockquote>
  
  <pre><code>@(Html.Kendo().Grid&lt;GardeshKar.Models.v_marhaleh_marahel&gt;()
      .Name("grdMarahel_Gardeshkar")
      .ToolBar(toolbar =&gt; toolbar.Custom().Name("btnAddMarhaleh").Text("اضافه").HtmlAttributes(new { id = "btnAddMarhaleh", href = "#" }))
      .Columns(columns =&gt;
      {
          columns.Bound(c =&gt; c.Code).Width(50).Title("کد");
          columns.Bound(c =&gt; c.Desc).Width(150).Title("شرح");//Autofit
          columns.Command(c =&gt; c.Destroy().Text("حذف")).Width(70).Title("عملیات");
      })
      .HtmlAttributes(new { style = "height: 380px;" })
      .Scrollable()
      .Sortable()
      .Resizable(rl =&gt; rl.Columns(true))
      .Selectable(sl =&gt; sl.Mode(GridSelectionMode.Single).Type(GridSelectionType.Row))
      .DataSource(dataSource =&gt; dataSource
          .Ajax()
          .Model(m =&gt; m.Id(p =&gt; p.id))
          .Read(read =&gt; read.Action("Get_DS_Marahel_Gardeshkar", "Home",
                      new { intGardesh = ViewBag.CodeGardeshKar }))
          .Destroy(del =&gt; del.Action("Del_Marhaleh_GardeshKar", "Home")))
  )  
  </code></pre>
  
  <blockquote>
    <p>that column specific with autofit must column width change to autofit</p>
  </blockquote>