Hi everyone,
I'd like to know, if there is any RightToLeft property of RowHeader (of gridControl).
Regards,
Allon
JJ
Jisha Joy
Syncfusion Team
November 9, 2009 07:11 AM UTC
Hi Allon,
You could use the following code for the right to left support.
this.gridControl1.RightToLeft = RightToLeft.Yes;
Thank you for posting query to us.
Regards,
Jisha
AL
Allon
November 9, 2009 07:35 AM UTC
Hi Jisha,
The command you have sent me, doesn't fix the problem. No matter what I do (including your last message), the text of the row header, remains in the left side of the row header.
I use:
Visual Studio 2005
Essential Studio 7.3.0.20
Thanks in advance,
Allon
JJ
Jisha Joy
Syncfusion Team
November 9, 2009 09:59 AM UTC
Hi Allon,
You could try using the HorizontalAlignment property to aligh the text alone.
this.gridControl1.Model.BaseStylesMap["Row Header"].StyleInfo.HorizontalAlignment = GridHorizontalAlignment.Right;
Regards,
Jisha
AL
Allon
November 9, 2009 11:16 AM UTC
Hi Jisha,
I tried to use what you have sent me, but it didn't work out. It will be really appreciated, if you could sent me little app, that demonstrate how to align text in the left side, right right side and in the center of the row header.
Regards,
Allon
JJ
Jisha Joy
Syncfusion Team
November 9, 2009 11:24 AM UTC
Hi Allon,
Attached the sample that shows alignment of row header text to right.
Regards,
Jisha
GCAlign_548cf0b8.zip
AL
Allon
November 9, 2009 11:56 AM UTC
Thanks a lot, Jisha.
Have a nice day :)
Allon
JJ
Jisha Joy
Syncfusion Team
November 9, 2009 12:05 PM UTC
Hi Allon,
Thank you for your update.
Regards,
Jisha