6 Answers, 1 is accepted
0
Hi Hari,
Vanya Pavlova
the Telerik team
You may set the TextAlignment property to Right for the numeric columns to achieve your goal.
Vanya Pavlova
the Telerik team
Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>
0
Hari
Top achievements
Rank 1
answered on 14 Dec 2011, 05:28 AM
Hi,
I dont want to be doing this at every place. I want to make this change only at one place and that is in my custom grid.
I dont want to be doing this at every place. I want to make this change only at one place and that is in my custom grid.
0
Accepted
Hello Hari,
Vanya Pavlova
the Telerik team
The TextAlignment property is a column related setting, not a RadGridView one.
You want to right align only the numeric columns you may use this property or to define a cell style for these particular columns.
Indeed using this property is the easiest way to achieve this result for the numeric columns.
Vanya Pavlova
the Telerik team
Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>
0
Sk
Top achievements
Rank 1
answered on 18 May 2013, 06:14 AM
hi.....
I have also a query like this but i have auto generate columns true,then how can i set the numeric columns to the right align?
Please suggest...................
I have also a query like this but i have auto generate columns true,then how can i set the numeric columns to the right align?
Please suggest...................
0
Hello Sk,
You can handle AutoGeneratingColumn event of RadGridView and from there you may set the desired TextAlignment for your columns. Please check the following help article for further reference.
Kind regards,
Vanya Pavlova
the Telerik team
You can handle AutoGeneratingColumn event of RadGridView and from there you may set the desired TextAlignment for your columns. Please check the following help article for further reference.
Kind regards,
Vanya Pavlova
the Telerik team
Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.
0
Sk
Top achievements
Rank 1
answered on 18 May 2013, 07:12 AM
Hiiii,
Thanks for u reply... :)
But i have the other requirements for keeping auto generate columns true, i just want that with auto generate columns true property how can i align the columns with numeric values to right side??????
i have put this issue on following link also :
http://www.telerik.com/community/forums/aspnet-ajax/grid/column-alignment-to-the-left.aspx#2626798
Please suggest............
Thnaks
Thanks for u reply... :)
But i have the other requirements for keeping auto generate columns true, i just want that with auto generate columns true property how can i align the columns with numeric values to right side??????
i have put this issue on following link also :
http://www.telerik.com/community/forums/aspnet-ajax/grid/column-alignment-to-the-left.aspx#2626798
Please suggest............
Thnaks