This is a migrated thread and some comments may be shown as answers.

How to filter MVC Telerik Grid Checkbox like checked/nonchecked

1 Answer 18 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Saul
Top achievements
Rank 1
Saul asked on 13 Feb 2014, 09:42 AM
I am using mvc telerik grid on my project and i have checbox inside this gridI just want to filter my checkbox like check or non checked in filter boxIs it possible?Is there any experience for this situation to help me? @( Html.Telerik().Grid<Orpac.Models.Time>()
.Name("timecmb")
.NoRecordsTemplate("No users to display")
.DataKeys(keys => keys.Add(k => k.Ident))
.DataBinding(d => d.Ajax().Select("GridTimeBinding", "Rule"))
.Columns(c =>{c.Bound(e => e.Ident).Width(90).ClientTemplate("<input type='checkbox' id='123' value='<#= Code #>' <#=bit? checked='checked' : '' #> />").Title((string)ViewData["Select"]);c.Bound(e=>e.Code).Width(150).Title((string)ViewData["TimeCode"]);c.Bound(e=>e.Desc).Width(300).Title((string)ViewData["Description"]); })
.ClientEvents(events => events.OnRowDataBound("onrowDataBoundtimepopup").OnDataBound("onDataBoundTimeRule"))
.Selectable()
.Footer(true)
.Sortable()
.Filterable(filtering => filtering.Enabled((bool)ViewData["filtering"]))
.Scrollable(scrolling => scrolling.Height(190))
.Pageable(p=>p.PageSize(10))
)This is the example of my gridThnx

1 Answer, 1 is accepted

Sort by
0
Dimiter Madjarov
Telerik team
answered on 14 Feb 2014, 03:40 PM
Hi Saul,


I covered this question in the other thread. Let's keep the discussion over there.

I wish you a great day!

Regards,
Dimiter Madjarov
Telerik
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Tags
Grid
Asked by
Saul
Top achievements
Rank 1
Answers by
Dimiter Madjarov
Telerik team
Share this question
or