This question is locked. New answers and comments are not allowed.
Hello.
I have a problem with filtering. For some reason I see filtering icon but I can do nothing with it. Even when I move mouse over that icon or click on it nothing happens.
I thought the problem with missed javascript files but I tried to add all of telerik javascript files and had the same result. Filter button is still inactive.
Can you help me with that?
<% Html.Telerik().Grid<User>(Model.List)
.Name("Grid")
.DataKeys(keys => keys.Add(col => col.Id))
.Columns(columns =>
{
columns.Bound(o => o.UserName).Title("User Name");
columns.Bound(o => o.FirstName);
columns.Bound(o => o.LastName);
columns.Bound(o => o.Email);
columns.Template(col =>
{%>
<a href="/Adm/Form.aspx?Name=<%=Model.Name %>&userId=<%=col.UserId %>&Id2=<%=Model.Id2 %>">
show report
</a>
<%}%><% ).Title("");
})
.Sortable()
.Filterable(filtering=>filtering.Enabled(true))
.Pageable(o => o.PageSize(20))
.Render();%>
Regards,
Roman
I have a problem with filtering. For some reason I see filtering icon but I can do nothing with it. Even when I move mouse over that icon or click on it nothing happens.
I thought the problem with missed javascript files but I tried to add all of telerik javascript files and had the same result. Filter button is still inactive.
Can you help me with that?
<% Html.Telerik().Grid<User>(Model.List)
.Name("Grid")
.DataKeys(keys => keys.Add(col => col.Id))
.Columns(columns =>
{
columns.Bound(o => o.UserName).Title("User Name");
columns.Bound(o => o.FirstName);
columns.Bound(o => o.LastName);
columns.Bound(o => o.Email);
columns.Template(col =>
{%>
<a href="/Adm/Form.aspx?Name=<%=Model.Name %>&userId=<%=col.UserId %>&Id2=<%=Model.Id2 %>">
show report
</a>
<%}%><% ).Title("");
})
.Sortable()
.Filterable(filtering=>filtering.Enabled(true))
.Pageable(o => o.PageSize(20))
.Render();%>
Regards,
Roman