Hi
I've got an ultragrid populated by a datasource.
One column contains an ID describing the type of materiel i'm using.
I have created an UltraDropDown with the type of materiel. I am able to bind using the valuelist property the ID column to the UltraDropDown.
My question is this one: In my grid, the ID number is displayed. It's only if a click on the cell that the dropdown will let me pick a value and then,
replace the older value by the new one which is good, but I don't want to have the ID displayed but the "text" provided by the dropDown.
So, I could resume my question to this one, how to show the value of the DropDownList associated instead of the "field" value...
Thanks
hello,
you could try to set DisplayMember property of the UltraDropDown with the name of the field you want to display.
I hope it helpes you!
Well, in fact, it does not help at all.
My Ultragrid is bounded with a table adapter. There are 3 bounded fields.
One is the ID, another one useless, and the last one is the type. Type is an int. It's for this field I've created a dropdown (Ultra1) and set the property
ValueList to Ultra1.
When I click on the "type" cell of a row, the dropdown appears correctly.. but Want I WANT is to have the column Type displaying the text associated with
the value and not the value.
I know how to achieve this when doing it for web, but not for winform (I guess it would have been the same, but it's not).