Click here to Skip to main content
15,885,546 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
i want to display radial gauge in kendo grid column. i hav etried folllowing code but it does not work so how to do ...plz help..
//code

C#
@(Html.Kendo().Grid(Model)
   .Name("grid")
   .Columns(columns =>
   {

VB
columns.Bound(p => p.status).Template(@<text>@(
        
                                    Html.Kendo().RadialGauge()
                                                    .Name("status")
                                                    .Pointer(pointer => pointer.Value(100))
                                                    .Scale(scale => scale
                                                    .MinorUnit(50)
                                                    .StartAngle(0)
                                                    .EndAngle(180)
                                                    .Max(300)
                                   .Ranges(r => { r.Add().From(0).To(100).Color("#1B9666");
                                   r.Add().From(100).To(110).Color("#1B9666");})

                                                   )
                                                    )</text>).Title(" Status").Width(60);
}) )
Posted

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900