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

How can I set the grouping column header from a method in the page

1 Answer 72 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Homam
Top achievements
Rank 1
Homam asked on 27 Dec 2010, 02:31 PM
Hi,
I want to change the grouping header to become like the following:

Assuming the grouping column name is: RecordType (it's an enumeration)

I want the  group header not to display the enumeration's value instead of display a custom string value taken from a method in the page:

string GetRecordTypeText( RecordType type)
{
// return somthing...
}

I hope it's clear..

Thanks in advance,
Homam


1 Answer, 1 is accepted

Sort by
0
Iana Tsolova
Telerik team
answered on 27 Dec 2010, 04:36 PM
Hello Homam,

Refer to this article for more information on how to customize the grid group header.

Best wishes,
Iana
the Telerik team
Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.
Tags
Grid
Asked by
Homam
Top achievements
Rank 1
Answers by
Iana Tsolova
Telerik team
Share this question
or