d_potts
asked on
DataGrid Column Right Align Caption Text Getting Cut Off
I have a datagrid that I want to align the values to the right. The number in the grid look correct however in the caption the T in Amount is getting cut off. I have tried adding spaces before and after the caption text but nothing seems to work. Any help would be greatly appreciated.
ASKER
Sorry I ment in the DatagridColumnsSysle for the textbox column
Assuming that the caption you refer to is the column header - DataColumn.ColumnName - I've not seen this before.
1) What is in the overriding of the DataGrid.OnPaint?
And what happens if
2) you increase the width of the column?
or
3) change the font to non-proportional - e.g Courier New?
Roger
1) What is in the overriding of the DataGrid.OnPaint?
And what happens if
2) you increase the width of the column?
or
3) change the font to non-proportional - e.g Courier New?
Roger
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thanks Guys. I never though to use a '.' I tried spaces and they never worked. It's things like this in .NEt that drive me nuts.
ASKER