We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Right Alignment cell on the grid . .

Thread ID:

Created:

Updated:

Platform:

Replies:

36426 Oct 29,2005 08:55 PM UTC Oct 29,2005 10:28 PM UTC Windows Forms 1
loading
Tags: GridControl
Adam K.
Asked On October 29, 2005 08:55 PM UTC

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

Adam K.
Replied On 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 >

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

;