UBAQ Dashboard Column Field DropDown able to type in

Hello everyone,

I have an Updateable Dashboard with a column that has a dropdown option, but it also allows me to type in it.
Is there an easy way to prevent the user from typing into it, but still being able to select one of the options and updating it?

I tried to set

orderListGrid.DisplayLayout.Bands[0].Columns["OrderHed_OrderStatus"].DropDownStyle = Infragistics.Win.UltraWinGrid.UltraComboStyle.DropDownList;

But it doesn’t work. I am not able to get the right combination working.

Any suggestions?

Thank you!

Do you have an EpiCombo that is bound to the field? Typically, I create a combo anywhere on the form, provide the corresponding EpiBinding, set the BO that provides the dropdown list and hide it.

Then, on the Form_load event, I set these properties:

		this.orderListGrid.DisplayLayout.Bands[0].Columns["OrderHed_OrderStatus"].ValueList = this.epiCombo01;		
		this.orderListGrid.DisplayLayout.Bands[0].Columns["OrderHed_OrderStatus"].Style = Infragistics.Win.UltraWinGrid.ColumnStyle.DropDownList;		
		this.epiCombo01.ForceRefreshList();	
1 Like

Thank you very much for your response.

I do not have a separate EpiCombo on the same form.
I’m working on a UBAQ Dashboard and the EpiCombo that dictates these values is on Order Entry.

Your code really helped though, I was able to set the Column Style in the Form Load event and now the text is locked, but I can still select from the dropdown.

Thank you very much, that was very helpful and solved my problem!