Hi. I cannot decide my problem correctly. I would like to disable texteditor for changing values in some column. I need to use only combobox values.
So, how I can do this?
Thanx in advance.
Which control did you end up using? I think UltraCombo has a ScrollBars property so you can turn the scrollbars off. You might not want to use that, though, but rather size the columns of the dropdown to fit the available space - maybe using AutoFitStyle.
If you are using UltraComboEditor or a ValueList, I don't think you can turn off the scroll bar.
Okay, I think setting DropDownWidth to 0 only works on the UltraDropDown control. A ValueList doesn't have a DropDownWidth.
Setting DropDownWidth on an UltraComboEditor might work, but maybe it doesn't support using 0 to auto-size, so you might have to set the width explicitly in the BeforeCellListDropDown event of the grid.
Hi, Mike. Thank you for answer but it doesn't work. I use ValueList property of column for dropdown's values usually. There is no DropDownWidth In this case.
Then I tried to use particular combobox assigned to EditorControl property of column.Changing DropDownWidth property doesn't take effect too.
Have you other suggestions? :)
It depends what you are using to display the dropdowns, but you probably need to set the DropDownWidth to 0 or maybe -1.