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

Custom column with Outlook style category colors

2 Answers 12 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Marcel
Top achievements
Rank 1
Marcel asked on 10 Mar 2016, 12:21 PM

Hello,

I am working on an simple email viewer using the Office 365 API.

I want to make the categories that are assigned to the different emails visible in the GridView in which I show my emails, using the same approach that is used in Outlook.

So a small rectangle with the color of the category followed by the name of the category, an email can have multiple categories in my case.

I want to use a single column to show all categories the email is assigned to.

 

I tryed finding any example but couldnt find it in the XDK samples or the Demo application of the Telerik WPF controls.

Looking for a code example or some guidance to accomplish this.

Thanks in advance,

 

Marcel

 

 

2 Answers, 1 is accepted

Sort by
0
Accepted
Dilyan Traykov
Telerik team
answered on 14 Mar 2016, 03:48 PM
Hello Marcel,

To achieve the desired effect, you will need to define your own custom column.

I suggest having a look at our tutorial on how to create a custom column editor as well as this helpful blog post regarding the creation of a custom percentage column.

Let me know if you find the provided resources helpful.

Regards,
Dilyan Traykov
Telerik
Do you need help with upgrading your AJAX, WPF or WinForms project? Check the Telerik API Analyzer and share your thoughts.
0
Marcel
Top achievements
Rank 1
answered on 15 Mar 2016, 03:25 PM

Thanks Dilyan, the links were really helpfull, got it working now!

Tags
GridView
Asked by
Marcel
Top achievements
Rank 1
Answers by
Dilyan Traykov
Telerik team
Marcel
Top achievements
Rank 1
Share this question
or