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

GridView Amount Coloumn Allignment

1 Answer 34 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Muhammad
Top achievements
Rank 1
Muhammad asked on 15 Aug 2010, 11:25 AM
Hi,
1) I am using amounts in my grid view data coloumn. I want it to be right alligned as values in excel.
2) I have totals textblock below my amount field. I am not using the aggregate functions of grid view as I have to apply custom Sum. Could you please tell me, how can I update my totals, on changing the amount in GridView.
Thanks
Muhammad Zubair

1 Answer, 1 is accepted

Sort by
0
Maya
Telerik team
answered on 16 Aug 2010, 07:52 AM
Hello Muhammad,

 
1. You may use the property of the column TextAlignment and set it to "Right".
2. You can use the method of the grid - CalculateAggregates(). However, depending on your custom logic and the application of the aggregate function, if you implement the INotifyPropertyChanged Interface in the class definition, the result of that function would be calculated instantly.

Best wishes,
Maya
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
GridView
Asked by
Muhammad
Top achievements
Rank 1
Answers by
Maya
Telerik team
Share this question
or