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

[Solved] Change field value (header) on grouping

1 Answer 97 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Silvio Silva Junior
Top achievements
Rank 2
Silvio Silva Junior asked on 16 May 2013, 03:58 PM
Hello.

I would like to know how can I change the value of a field when grouping. I have a grid with group enabled. When I group by a field (named status that is a boolen, but, in item data bound I change to: true = ativo, false = inativo), the grid shows me true and false instead of ativo and inativo. How can I fix it? See the attached picture to have a better idea.

One more thing, how can I remove the header text: (Showing 5 of 6 items. Group continues on the next page.) that appears when the paging is enabled?

Best regards.


http://img856.imageshack.us/img856/6273/buggrouping.png


1 Answer, 1 is accepted

Sort by
0
Eyup
Telerik team
answered on 22 May 2013, 10:12 AM
Hi Silvio,

You can use the following properties to remove the continues information:
<GroupingSettings GroupContinuesFormatString="" GroupContinuedFormatString=""  GroupSplitDisplayFormat=""/>

I have prepared a sample RadGrid web site to demonstrate how you can achieve the requested functionality. Please check out the attached application and let me know if it helps you.

Regards,
Eyup
Telerik
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
Tags
Grid
Asked by
Silvio Silva Junior
Top achievements
Rank 2
Answers by
Eyup
Telerik team
Share this question
or