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
65
Getting the button to display on the left with EditButton style
posted

Good morning,

 I have searched several forums for the answer to this question but could not find the answer, thus I am posting.

 In the intializeRow event of a UltraGrid, I am setting the style of a cell to EditButton. The problem I am having is that I cannot get the button to display on the left side of the cell. It is displaying on the right side.

My code looks like this:

e.Row.Cells("Name").Style = ColumnStyle.EditButton

And i have tried several different items to get the button display on the left, such as:

 e.Row.Cells("Name").ButtonAppearance.ImageHAlign = HAlign.Left

e.Row.Cells("Name").Appearance.ImageHAlign = HAlign.Left

But neither work. What am I missing?

Thank you for your time.

Scott

  • 135
    posted

     I had a similar requirement and had to settle for an UltraTextEditor with ButtonsLeft set as the EditorControl for the grid.