Hi,
I have a Ultra Win grid with some columns. I have set column style as 'DropDownValidate' for one of the column.
e.Layout.Bands(0).Columns(ReasonDataColumns.REASON_DESCR.Value).Style = Infragistics.Win.UltraWinGrid.ColumnStyle.DropDownValidate.
Is there any way i can set the RowAlternateAppearance, CellAppearance, RowAppearance for items in DropDownList control inside the ultra win grid?
What are you using to provide the drop down list in the column? If you are using a ValueList, then no, there's no support for an alternate row appearance.
If you are using an UltraDropDown control, then the UltraDropDown has an AlternateRowAppearace on the DisplayLayout.Override, just like the grid.
Hi Mike,
Thanks for the reply. I am using a value list to bind the dropdown inside the Ultrawingrid. So i can understand that there is no option to set RowAlternateAppearance for dropdown if i use a value list. Is there any other way to do this?
I coudnt understand your second point in which you were saying about dropdown control. I need to show a dropdownlist in a column when another column in the grid is selected and we have a standard way of displaying the dropdown controls in our project(using RowAlternateAppearance) which i am not able to set for the dropdown inside the ultrawingrid.
The ValueList object does not have any support for an alternate row appearance. Note that I am referring to the ValueList object - this is not the same thing as the ValueList property on the column (which takes an IValueList).
If you want an alternate row appearance, you can use the UltraDropDown control and attach it to the grid column via the ValueList property (UltraDropDown implements IValueList). UltraDropDown is essentially a dropdown grid - it supports almost all the same features as the UltraGrid, include RowAlternateAppearance.