Right Alignment cell on the grid . .

for some reason i can''t get the grid to right align cell. i am using the grid control in virtual mode. on the querycellinfo i am setting these properties on the style: s.TextAlign = GridTextAlign.Right; s.CellValueType = typeof(double); but they are still coming up left aligned on the grid. any thoughts ? thks, ak

1 Reply

AK Adam K. October 29, 2005 10:28 PM UTC

i realized that i needed to use HorizontalTextAlign thks, ak >for some reason i can''t get the grid to right align cell. > >i am using the grid control in virtual mode. on the querycellinfo i am setting these properties on the style: > >s.TextAlign = GridTextAlign.Right; >s.CellValueType = typeof(double); > >but they are still coming up left aligned on the grid. > >any thoughts ? > >thks, >ak >

Loader.
Up arrow icon