How can I highlight that a filter has been applied to a column after I enable the option to choose columns using .ColumnMenu()
Refer to the attached screen shots No ColumnMenu Filter.png and No ColumnMenu Filter Applied.png when I don't have the .ColumnMenu() applied a user can visually see that a filter has been applied.
Below is the MVC Helper config for completeness:
Once I enable .ColumnMenu() the filtering options are contained in a submenu item and the user is unable to visually see if a column filter has been applied. Refer to ColumnMenu.png and ColumnMenu Filter Applied.png.
I want users to be able to choose columns and highlight when filtering is applied to columns. Is there any way I can achieve this?
Is there any other way I can enable grid column selection without enabling .ColumnMenu(). I have tried: http://stackoverflow.com/questions/13637475/how-to-show-kendo-grids-columnmenu-using-script but the grid .ColumnMenu() option needs to be enabled for this to work which defeats the purpose.
Maybe there is an options to show as text, what filter options have been applied, hook into an event?
Thanks,
Beau
Refer to the attached screen shots No ColumnMenu Filter.png and No ColumnMenu Filter Applied.png when I don't have the .ColumnMenu() applied a user can visually see that a filter has been applied.
Below is the MVC Helper config for completeness:
@(Html.Kendo().Grid(Model)
.Name("Grid")
.Columns(columns =>
{
columns.Bound(f => f.FluidID).Width(50).Title("ID").Hidden();
columns.Bound(f => f.Name).Width(150).Title("Name");
columns.Bound(f => f.Code).Width(150).Title("Code");
columns.Bound(f => f.Grade).Width(150).Title("Grade");
columns.Bound(f => f.Manufacturer).Width(150).Title("Manufacturer");
})
.Deferred()
.Resizable(resize => resize.Columns(true))
.Reorderable(reorder => reorder.Columns(true))
.Groupable()
.Pageable()
.Sortable()
//.ColumnMenu() <-- Once enabled, there is no visual cues to highlight that a filter is applied
.Scrollable(s => s.Height("auto"))
.Navigatable()
.Filterable()
.Events(e => e
.DataBound("grid_dataBound")
)
.DataSource(dataSource => dataSource
.Ajax()
.ServerOperation(true)
.Read(read => read.Action("GetJsonData", "FluidKendo"))
)
)
Once I enable .ColumnMenu() the filtering options are contained in a submenu item and the user is unable to visually see if a column filter has been applied. Refer to ColumnMenu.png and ColumnMenu Filter Applied.png.
I want users to be able to choose columns and highlight when filtering is applied to columns. Is there any way I can achieve this?
Is there any other way I can enable grid column selection without enabling .ColumnMenu(). I have tried: http://stackoverflow.com/questions/13637475/how-to-show-kendo-grids-columnmenu-using-script but the grid .ColumnMenu() option needs to be enabled for this to work which defeats the purpose.
Maybe there is an options to show as text, what filter options have been applied, hook into an event?
Thanks,
Beau