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

Align group header text to right

6 Answers 330 Views
Grid
This is a migrated thread and some comments may be shown as answers.
prayag ganoje
Top achievements
Rank 1
prayag ganoje asked on 27 Jun 2011, 12:58 PM
Hello,

I have a grid with group headers. Grid has 3 columns. 2 columns are right aligned while one is left aligned.

I wish to have group header text also right aligned.

Please let me know I can achieve the same ?

Please see attached image for more info.

6 Answers, 1 is accepted

Sort by
0
Shinu
Top achievements
Rank 2
answered on 27 Jun 2011, 01:13 PM
Hello Prayag,

Try implementing the approach in the following help document.
Aligning items in GroupHeader.

Thanks,
Shinu.
0
prayag ganoje
Top achievements
Rank 1
answered on 27 Jun 2011, 01:26 PM
Thanks Shinu for the reply.

I had already gone through this article. But is does not solve my query.

I  already had a group header name in respective column. But all these group headers are left aligned.

I wish to have 2 group headers right aligned. Please see highlited group headers in the attached image.

for example: 72 & 45.4 are not aligned with rest of the values in those columns.

How to make them right aligned ?

0
Pavlina
Telerik team
answered on 29 Jun 2011, 11:36 AM
Hi Prayag,

I already answered your support ticket with the same question. To avoid duplicate posts, I suggest you continue the communication there.
  
Greetings,
Pavlina
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.

0
Dhilip
Top achievements
Rank 1
answered on 07 Jan 2012, 10:01 AM
Hi, I want to align Group header matching column header . I ve tried this link
http://www.telerik.com/help/aspnet-ajax/grid-aligning-items-in-group-header.html 
but its not working .

I have attached the screen shot of that grid , in which the image button should come inline with status column .
So kindly please help me in this
0
Pavlina
Telerik team
answered on 09 Jan 2012, 03:32 PM
Hi Dhilip,

Attached to this message is a sample project which demonstrates how you can align group header text of UnitPrice column. Give it a try and see if it helps to achieve your goal.

Kind regards,
Pavlina
the Telerik team
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
0
Dhilip
Top achievements
Rank 1
answered on 13 Jan 2012, 09:23 AM
Hey Pavlina ,

First of all thanks a lot.
This is working fine..
Tags
Grid
Asked by
prayag ganoje
Top achievements
Rank 1
Answers by
Shinu
Top achievements
Rank 2
prayag ganoje
Top achievements
Rank 1
Pavlina
Telerik team
Dhilip
Top achievements
Rank 1
Share this question
or