@model IEnumerable @if (Model != null && Model.Count() > 0) { @*
*@
@(Html.Kendo().Grid(Model) .Name("KamCloseTicket") .Columns(columns => { columns.Bound(column => column.AssignedTo).Hidden(); columns.Bound(column => column.Id).Hidden(); columns.Bound(column => column.ticketid_alias); //.Width("182px"); columns.Bound(column => column.CustomerName); //.Width("238px"); columns.Bound(column => column.CustomeContact_no); //.Width("175px") columns.Bound(column => column.VehicleRegistrationNo).Title("Vehicle Registration No."); columns.Bound(column => column.VehicleTagging).Title("Vehicle Type"); //.Width(70); columns.Bound(column => column.DefaultSlaTime).Title("Default SLA Time (in min)"); //.Width(70); columns.Command(command => command.Custom("resolutionSla").Text("")).Title("Resolution SLA").Hidden(); //.Width("121px"); columns.Bound(column => column.TotalTicketLifeCycleTimeSlab); //.Width("177px"); columns.Bound(column => column.ServiceEngineerName).Title("EOS Team Member/Van Reg No."); //.Width("303px"); columns.Bound(column => column.DealerDealerName); //.Width("167px"); columns.Bound(column => column.Age).Hidden(); columns.Bound(column => column.ServiceEngineerContactNumber); columns.Bound(column => column.caller_language).Title("Language"); //columns.Bound(column => column.DefaultCol2).Title("Feedback Agent"); //columns.Bound(column => column.feedback_call_status).Title("Feedback Status"); //columns.Bound(column => column.total_count).Title("Total Feedback Attempt"); //.Width("233px"); //columns.Command(command => command.Custom("feedback").Text("")).Title("Closure within 24 Hrs
and Feedback").HtmlAttributes(new { @class = "removeLink" }); //columns.Command(command => command.Custom("feedbackDetails").Text("")).Title("Feedback").HtmlAttributes(new { @class = "removeLink" }).Hidden(); //columns.Command(command => command.Custom("reason24Hrs").Text("")).Title("Closure after 24 Hrs").HtmlAttributes(new { @class = "removeLink" }).Hidden(); columns.Command(command => { command.Custom("TicketDetails").Text("Details").Click("showKamTicketDetails").HtmlAttributes(new { title = "Show Details" }); }).Title("User Actions"); //.Width("144px"); }) .Pageable() //.Selectable() .Scrollable() //.Navigatable() // .Sortable() .EnableCustomBinding(true) // .Groupable() .Filterable() .Resizable(resize => resize.Columns(true)) .Events(events => events.DataBound("onRowBound").ColumnResize("onColumnResize")) .DataSource(dataSource => dataSource .Ajax() .Batch(true) .PageSize((int)ViewBag.pageSize) .Read(read => read.Action("Report_KamTickets_Close_Pager", "Report", new { userId = ViewBag.userId, startDate = ViewBag.startDate, endDate = ViewBag.endDate, ticketStatus = ViewBag.ticketStatus, total = ViewBag.total })) .Total((int)ViewBag.total) //.ServerOperation(false) //.Events(events => events.Error("error_handler")) ) //.Events(events => events.DataBound("setPagerAndGroupBarWidth")) )
} else {

@*No Data Available !!!*@ @System.Configuration.ConfigurationManager.AppSettings["no_data_available"].ToString()

}