Hi:
I have a column, "Status". The applicable values are "A-Active", "D-Deleted", "S-Suspended", "C-Close".
While I know how how to add a Ultra Dropdown to a column whose style is set to "Dropdown ist", I don't generally want to create a table which as just 4 values.
How I can create a two-column list and bind it to the column?
I am using VB.Net.
venki
Hello venki,
There are different approaches to solve this task. One possible solution could be if you are using ValueList into your column. Another solution could be if you are using UltraCombo or UltraComboEditor like EditorComponent for that column.
I made small sample for you. Please take a look at attached sample for more details and let me know if you have any questions.
Regards
This is the sample
Actually, I think you want something more like this:
ValueList vl = new ValueList(); vl.ValueListItems.Add("A", "Active"); vl.ValueListItems.Add("D", "Deleted"); vl.ValueListItems.Add("S", "Suspended"); vl.ValueListItems.Add("C", "Close"); ultraGrid1.DisplayLayout.Bands[0].Columns[2].ValueList = vl;
Mike:
Just the solution I was looking for.
Thanks.