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

[Solved] In-cell graphic

3 Answers 97 Views
GridView
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
CH
Top achievements
Rank 1
CH asked on 28 Aug 2010, 09:29 AM
Hi,
I  am looking a way to create in-cell graphic to show % of my reports which something like Excel(http://www.juiceanalytics.com/writing/more-on-excel-in-cell-graphing/)

Can somebody show me the way to do it.

Thanks.

Regards,
Wong

3 Answers, 1 is accepted

Sort by
0
Nick
Top achievements
Rank 2
answered on 29 Aug 2010, 02:21 PM
You could draw the image yourself using GDI+, add it to the datasource you use in your binding (add an entry to your DomainServices class that wraps the data in a new object) and then just use a GridViewImageColumn to display it.

<telerik:RadGridView.Columns>
    <telerik:GridViewToggleRowDetailsColumn />
    <telerik:GridViewImageColumn Header="Photo" DataMemberBinding="{Binding Picture}" ImageHeight="40" ImageWidth="40" />
</telerik:RadGridView.Columns>
0
Vanya Pavlova
Telerik team
answered on 30 Aug 2010, 01:24 PM
Hello chuin hun,

One possible approach to achieve desired result is to create a custom column in your RadGridView.
We have an example in our blogs that shows how to create such a column,you can find it here:
You can customize it in the way you need.
Please let me know if you need any additional information.

Kind regards,
Vanya Pavlova
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
0
CH
Top achievements
Rank 1
answered on 01 Sep 2010, 04:46 AM
Hi,
This work for me. thank you very much.

rgds.
Tags
GridView
Asked by
CH
Top achievements
Rank 1
Answers by
Nick
Top achievements
Rank 2
Vanya Pavlova
Telerik team
CH
Top achievements
Rank 1
Share this question
or