I have simple Kendo UI Grid in partialview to display information using AJAX binding.
Sample Code Below
@(Html.Kendo().Grid(Model)
.Name("Grid")
.Columns(columns => {
columns.Bound(p => p.Id).Groupable(false).Hidden();
columns.Bound(p => p.Name);
})
.DataSource(dataSource => dataSource
.Ajax()
.Read(read => read.Action("Value_Read", "Value"))
)
.Pageable()
.Sortable()
.Filterable()
I have problem with filtering. When I clicks on Filtering icon, it works as sorting.
If I add filtering only without sorting, then it works.
Only way to make filtering working along with sorting is by turning on Compatibility View
Below is pictorial explanation. Hope this helps.
launch partialview with Grid. You see filtering icon next to name.
when hover over filtering icon to click, the icon disappears.
Tries to click filtering icon, sorting will work.
Do same step as above. But this time I turn on Compatibility View (Notice red circle)
This times, when I hover over on Filtering icon, I can see filtering icon.
Filtering and sorting are working here.
I have IE9.
I ran this with Firefox, I cannot make filtering works regardless what.
I added below as order suggested.
<script src="@Url.Content("~/Scripts/jquery.min.js")"></script>
<script src="@Url.Content("~/Scripts/kendo/2012.2.710/kendo.web.min.js")"></script>
<script src="@Url.Content("~/Scripts/kendo/2012.2.710/kendo.aspnetmvc.min.js")"></script>
I also have jQuery 1.7.2 and 1.8.20
Please let me if there is any information I need to provide. I really spent huge amount of time to figure out this issue.
Thank you in advance.
Sample Code Below
@(Html.Kendo().Grid(Model)
.Name("Grid")
.Columns(columns => {
columns.Bound(p => p.Id).Groupable(false).Hidden();
columns.Bound(p => p.Name);
})
.DataSource(dataSource => dataSource
.Ajax()
.Read(read => read.Action("Value_Read", "Value"))
)
.Pageable()
.Sortable()
.Filterable()
I have problem with filtering. When I clicks on Filtering icon, it works as sorting.
If I add filtering only without sorting, then it works.
Only way to make filtering working along with sorting is by turning on Compatibility View
Below is pictorial explanation. Hope this helps.
launch partialview with Grid. You see filtering icon next to name.
when hover over filtering icon to click, the icon disappears.
Tries to click filtering icon, sorting will work.
Do same step as above. But this time I turn on Compatibility View (Notice red circle)
This times, when I hover over on Filtering icon, I can see filtering icon.
Filtering and sorting are working here.
I have IE9.
I ran this with Firefox, I cannot make filtering works regardless what.
I added below as order suggested.
<script src="@Url.Content("~/Scripts/jquery.min.js")"></script>
<script src="@Url.Content("~/Scripts/kendo/2012.2.710/kendo.web.min.js")"></script>
<script src="@Url.Content("~/Scripts/kendo/2012.2.710/kendo.aspnetmvc.min.js")"></script>
I also have jQuery 1.7.2 and 1.8.20
Please let me if there is any information I need to provide. I really spent huge amount of time to figure out this issue.
Thank you in advance.