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

[Solved] from grid bit column to checkbox column

1 Answer 49 Views
Grid
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Richard
Top achievements
Rank 1
Richard asked on 28 Apr 2010, 03:53 PM
Hi

I have a little problem. I have a grid, with bit column, and i need to sorting this.

 Html.Telerik() 
            .Grid<GridDemoMvc.Models.Model>("customers"
            .Name("grid1"
.... 
.Columns(c => { 
... 
 c.Bound(o => o.bFree).Title("isTrue"); 
.... 
.Sortable() 
.Render(); 
And it's works, fine, but how can i do, that show checkbox with pipe if value= true and show checkbox without pipe, if value=false, becouse now show it like list-box.

Thanks in advance,
Richard

1 Answer, 1 is accepted

Sort by
0
Atanas Korchev
Telerik team
answered on 28 Apr 2010, 04:02 PM
Hi Richard,

You should set the Template (or ClientTemplate) of this column. Check the help and online examples for additional info.

All the best,
Atanas Korchev
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
Tags
Grid
Asked by
Richard
Top achievements
Rank 1
Answers by
Atanas Korchev
Telerik team
Share this question
or