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
315
Grid Editor Allignment
posted

Hi,

I have attached 2 images here. In the first one, you can see a grid Cell which has a Combo editor in non edit mode. The Allignment of its text is Left. Now please refer to the 2nd image, here as soon as i click on the Combo Dropdown, the cell becomes editable and the Alligment changes from Left to Right. Is there any way by which i can keep the alligment consistent, as in my case i want it to be left alligned always. I tried listening to AfterDropDownClose event and InitializeRow event to change the allignment at run time, but that is giving a flickering affect and not looking good.

 

Regards,

Hemesh

12-Sep-09_53953 PM.zip
Parents
No Data
Reply
  • 469350
    Suggested Answer
    Offline posted

    Hi Hemesh,

    I tried this out and I could not reproduce this behavior. In a normal text cell, the text is aligned to the left by default and it stays that way when I enter edit mode.

    When I set the EditorControl on the column to an UltraComboEditor, there is no change in this behavior.

    So this must be caused by some other factor in your code or some other property settings you are using.

    Can you duplicate this in a small sample project and post is here so I can check it out?

Children