I picked the Row filtering mode because my users want to be able to see the filters all the time, but there's a bit of a problem.
The second the user starts typing something into a filter, the page starts to refresh itself. If a user were typing "SalesOrder," by the time the page loads, only the 's' would show in the filter. I do not want this behavior. I want the user to be able to finish typing, then either tab out of the filter they were typing in or click somewhere else or click one of the filter options like "Contains" or "Starts With" AND THEN the page can load.
Is there something I'm missing in the code to do that? I can get a lot of records by filtering, and I can't afford for the page to load every time a user types in one character.
Please help! :(
@(Html.Kendo().Grid(Model)
.Name("TransactionGrid")
.DataSource(dataSource => dataSource
.Server()
.Model(model => model.Id(o => o.TransactionID))
.PageSize(1000)
)
.Columns(columns =>
{
columns.Bound(r => r.TransactionID).Title("ID").Hidden();
columns.Bound(r => r.MessageType);
columns.Bound(r => r.SourceSystem.Name);
})
.HtmlAttributes(new { style = "width:100%;" })
.Resizable(resizing => resizing.Columns(true))
.Pageable()
.Groupable()
.Filterable(filtering => filtering.Mode(GridFilterMode.Row))
.Sortable(sorting => sorting.Enabled(true))
.Selectable(selecting => selecting.Enabled(true))
.Scrollable(s => s.Height(600))
)
The second the user starts typing something into a filter, the page starts to refresh itself. If a user were typing "SalesOrder," by the time the page loads, only the 's' would show in the filter. I do not want this behavior. I want the user to be able to finish typing, then either tab out of the filter they were typing in or click somewhere else or click one of the filter options like "Contains" or "Starts With" AND THEN the page can load.
Is there something I'm missing in the code to do that? I can get a lot of records by filtering, and I can't afford for the page to load every time a user types in one character.
Please help! :(
@(Html.Kendo().Grid(Model)
.Name("TransactionGrid")
.DataSource(dataSource => dataSource
.Server()
.Model(model => model.Id(o => o.TransactionID))
.PageSize(1000)
)
.Columns(columns =>
{
columns.Bound(r => r.TransactionID).Title("ID").Hidden();
columns.Bound(r => r.MessageType);
columns.Bound(r => r.SourceSystem.Name);
})
.HtmlAttributes(new { style = "width:100%;" })
.Resizable(resizing => resizing.Columns(true))
.Pageable()
.Groupable()
.Filterable(filtering => filtering.Mode(GridFilterMode.Row))
.Sortable(sorting => sorting.Enabled(true))
.Selectable(selecting => selecting.Enabled(true))
.Scrollable(s => s.Height(600))
)