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

Need suggestion about Grid Progress column

1 Answer 6 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Simon Chiu
Top achievements
Rank 1
Simon Chiu asked on 15 Oct 2008, 06:57 AM
Dear forum,
I need suggestion for how to display progress indicator in grid column,
either with TemplateColumn or user control.
I have requirement for it with colored background, which is red, orange, or green. for 0-30%, 31-60%, 61-100%. Maybe someone has sample code.
Thanks all

1 Answer, 1 is accepted

Sort by
0
Iana Tsolova
Telerik team
answered on 17 Oct 2008, 01:43 PM
Hello Simon,

I prepared a sample project for you attached to this post. You can find that the GridTemplateColumn has a div in its ItemTemplate. Its background color and width are set in the ItemDataBound event handler depending on a database field value.

Check it out and let me know if any issues arise.

Best regards,
Iana
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Tags
Grid
Asked by
Simon Chiu
Top achievements
Rank 1
Answers by
Iana Tsolova
Telerik team
Share this question
or