I am working with bootgrid. I want the row color to be highlighted based on the specific condition. How do i do it??
<script type="text/javascript">
$(document).ready(function () {
//Basic Example
$("#data-table-command").bootgrid({
css: {
icon: 'md icon',
iconColumns: 'md-view-module',
iconDown: 'md-expand-more',
iconRefresh: 'md-refresh',
iconUp: 'md-expand-less'
},
formatters: {
"commands": function (column, row) {
return "<a class=\"btn btn-success \" data-row-id=\"" + row.id + "\" href=/Ticket/ViewTicket?id=" + row.id + "> <span class=\"md md- pageview\"></span> View </a>" + "" + "\ " + "\ " +
"<a class=\"btn btn-warning \" data-row-id=\"" + row.id + "\" href=/Ticket/Close?id=" + row.id + "> <span class=\"md md-close\"></span> Close </a>" + "" + "\ " + "\ ";
}
}
});
});