11 Answers, 1 is accepted
0
Hi Domenico,
Thnak you for this question.
You can spcify group header formatting through code when adding an expression to the GroupByExpressions collection of the MasterGridViewTemplate. Consider the code snippet below:
In the sample above the {0} parameter of the formatting is the name of the column that is grouped. The {1} parameter is the value.
I hope this helps.
Do not hesitate to write me, if you have other questions.
Best wishes,
Jack
the Telerik team
Instantly find answers to your questions at the new Telerik Support Center
Thnak you for this question.
You can spcify group header formatting through code when adding an expression to the GroupByExpressions collection of the MasterGridViewTemplate. Consider the code snippet below:
this.radGridView1.MasterGridViewTemplate.GroupByExpressions.Add("Value format '{1}' GroupBy Value"); |
this.radGridView1.UpdateGroupPanel(); |
In the sample above the {0} parameter of the formatting is the name of the column that is grouped. The {1} parameter is the value.
I hope this helps.
Do not hesitate to write me, if you have other questions.
Best wishes,
Jack
the Telerik team
Instantly find answers to your questions at the new Telerik Support Center
0

Domenico
Top achievements
Rank 1
answered on 28 Mar 2008, 11:10 AM
What event I've to manage to execute this code?
0
Hi Domenico,
This code should be executed when you are grouping the RadGridView programmatically. Currently, there is no suitable event to process when the user groups through the user interface. We will add such functionality in some of our future releases.
Let me know, if I can help you further.
All the best,
Jack
the Telerik team
Instantly find answers to your questions at the new Telerik Support Center
This code should be executed when you are grouping the RadGridView programmatically. Currently, there is no suitable event to process when the user groups through the user interface. We will add such functionality in some of our future releases.
Let me know, if I can help you further.
All the best,
Jack
the Telerik team
Instantly find answers to your questions at the new Telerik Support Center
0

Domenico
Top achievements
Rank 1
answered on 28 Mar 2008, 01:40 PM
I want the user decide the column grouping, but I don't want to see the field name inside cell. What can I do?
0
Hi Domenico,
Currently, you can customize the group header text only when the grouping is set through code. You can't hide the field name when the user performs a grouping operation using the user interface.
If you have other questions, don't hesitate to contact me.
Greetings,
Jack
the Telerik team
Instantly find answers to your questions at the new Telerik Support Center
Currently, you can customize the group header text only when the grouping is set through code. You can't hide the field name when the user performs a grouping operation using the user interface.
If you have other questions, don't hesitate to contact me.
Greetings,
Jack
the Telerik team
Instantly find answers to your questions at the new Telerik Support Center
0

Levi
Top achievements
Rank 1
answered on 07 Nov 2008, 02:18 PM
Is there a better way to do this with the latest Telerik releases? I ask because the post is pretty old. I'm trying to do the same thing and making event handlers for every grid is a bit messy.
0
Hello Levi,
Currently, you can customize the group header text only when the grouping is set through code. You can't hide the field name when the user performs a grouping operation using the user interface. Do not hesitate to write me back if you have further questions.
All the best,
Nick
the Telerik team
Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Currently, you can customize the group header text only when the grouping is set through code. You can't hide the field name when the user performs a grouping operation using the user interface. Do not hesitate to write me back if you have further questions.
All the best,
Nick
the Telerik team
Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0

Boris
Top achievements
Rank 1
answered on 13 Nov 2008, 01:59 PM
Hi Teleriks :)
Well I think we all know now, that this feature will be availabe in a future release...
...any idea how long this will take?
thx
Bo
Well I think we all know now, that this feature will be availabe in a future release...
...any idea how long this will take?
thx
Bo
0
Well, unfortunately, we do not have a set deadline. We will be discussing the Q1 release soon and we will do our best to include this feature in it.
Sincerely yours,
Nick
the Telerik team
Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Sincerely yours,
Nick
the Telerik team
Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0

Daniel
Top achievements
Rank 1
answered on 21 Dec 2009, 03:37 PM
Hi Teleriks,
is this feature now availabe?
is this feature now availabe?
0
Hi Daniel,
Thank you for contacting us. Please follow the instructions in this blog post.
Do not hesitate to write me back if you have further questions.
All the best,
Nick
the Telerik team
Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Thank you for contacting us. Please follow the instructions in this blog post.
Do not hesitate to write me back if you have further questions.
All the best,
Nick
the Telerik team
Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.