Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
685
highlighted text in grid cell ... how to align
posted

highlighted text in grid cell ... how to align to left ?

I tried changing "everything" to TextVAlign = Left , but no luck

How do you ensure the selected text is left justified ( so can see numbers on the left of a concat field) , please  ?

Do i need to use an editor ?

 

 

  • 69832
    Offline posted

    You stated here that you set TextVAlign, but you also stated you set it to 'Left', so I assume that was a typo, but you might want to verify that you set the TextHAlign property of the CellAppearance and not TextVAlign.

    I tried setting the UltraGrid.DisplayLayout.Override.CellAppearance.TextHAlign property to 'Left', and the text in all cells was left aligned, including when they were in edit mode, so I could not reproduce the behavior you describe here with that simple test. If possible, post a brief code example or test project that demonstrates the problem and we can take a look.