Articles
FAQs
Login
All Questions
New Question
ASP.NET - How to make Kendo Grid to change Page automatically based on SetInterval?
Asked By
Chiranjeevi S
on 01-Nov-20 11:06 PM
Select Cell : @(Html.Kendo().DropDownList()
.Name("static_Cell")
.HtmlAttributes(new { required = "required", data_required_msg = "Select Cell", style = "width:200px;" }) .OptionLabel("Select Cell")
.ServerFiltering(true); })
.Events(e => { e.Change("getCelData"); }) .DataTextField("Text") .DataValueField("Value")
)
@(Html.Kendo().Grid<coreclasses.summary>()
.Name("grid")
.Navigatable()
.Columns(columns => { columns.Bound(c => c.No).Title("LogSheet").HtmlAttributes(new { style = "width:100%;" });
columns.Bound(c => c.Order).Title("Work Order").HtmlAttributes(new { style = "width:100%;" }); columns.Bound(c => c.Cusr).Title("Customer").HtmlAttributes(new { style = "width:100%;" }); columns.Bound(c => c.Time).Title("Shift").HtmlAttributes(new { style = "width:100%;" }); columns.Bound(c => c.Qty).Title("Target").HtmlAttributes(new { style = "width:100%;" }); columns.Bound(c => c.OperatorEfficiency).Title("Oper. Eff").HtmlAttributes(new { style = "width:100%;" });
columns.Bound(c => c.Efficiency).Title("Prod.Eff").HtmlAttributes(new { style = "width:100%;" }); columns.Bound(c => c.Status).HtmlAttributes(new { style = "width:100%;" }); }) .HtmlAttributes(new { style = "height: 550px;text-align:center;" })
.Scrollable()
.Groupable()
.Sortable()
.AutoBind(true)
.Pageable(pageable => pageable .Refresh(false)
)
.ButtonCount(5) )
.DataSource(dataSource => dataSource .Ajax() .Read(read => read.Action("GetCells", "Econtroller", new { cell = ViewData["CellFilter"] })) .PageSize(3) ) ) </coreclasses.summary>