title: How to color commands in kendo grid
body: <p>Im new to mvc but i had 2 years experience with web forms applications in C#, I have a problem with coloring the commands in Kendo grid.</p>
  
  <p>Usually in web forms, I use the <code>RowDataBound</code> function to check the value of the column, then use the <code>cssClass</code> to set the icon shape and color.</p>
  
  <p>It will be something like this:  </p>
  
  <pre><code> LinkButton lbEdit = e.Row.Cells[7].FindControl("lbEdit") as LinkButton;
  
    if (lbEdit != null)
    {
      if (User != null)
          {
           lbEdit.Visible = true;
           lbEdit.CssClass = "fa fa-pencil-square-o  text-muted fa-2x";
           lbEdit.Enabled = false;
            }
            else
            {
             lbEdit.Visible = true;
             lbEdit.CssClass = "fa fa-pencil-square-o  text-success fa-2x";
              lbEdit.Enabled = true;
                }
        }
  </code></pre>
  
  <p>The previous code is just an example, but I'm struggling to do the same with Kendo grid in my new application, how can I do that?</p>
  
  <p>Here is an example of the current Kendo grid:</p>
  
  <pre><code> @(Html.Kendo().Grid&lt;Requested&gt;()
        .Name("grid")
        .Columns(columns =&gt;
        {
            columns.Bound(p =&gt; p.RequestNum).Width(200);
            columns.Bound(p =&gt; p.ProposedAppTitle).Width(200);
            columns.Bound(p =&gt; p.StatusId);
            columns.Bound(p =&gt; p.OriginatingDeptName);
            columns.Bound(p =&gt; p.AssignedPaUsername);
            columns.Bound(p =&gt; p.ProposedAppTitle);
            columns.Command(command =&gt;
            {
                command.Custom("Edit").Text(" ").SendDataKeys(true).HtmlAttributes(new { @title = "Edit" }).IconClass("fa fa-pencil-square-o  text-success fa-lg").Click("Edit");
  
  
        })
        .DataSource(dataSource =&gt; dataSource
            .Ajax()
            .PageSize(5)
            .Model(model =&gt;
            {
                model.Id(p =&gt; p.Id);
            })
            .Read(read =&gt; read.Action("Read", "Requested"))
        )
        .Pageable()
        .Sortable()
        .Filterable()
  
        )
  </code></pre>