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
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?
HI Mark,
it was very difficult to duplicate that in a sample, so i havent attached it here. But i have attached a small video clip, that might help you finding what is the problem here.
One thing that was noticeable other then the allignment issue, is that the Scrollbar is starting from right most corner of the grid and not the leftmost, as is the case normally.
You can see what i mean by looking at the .avi file attached.
Please see if the file helps you in finding any clue as what might be wrong.