Hi
I am using the version 12.1. I have this kind of construction. Seems that the value list
does not have any affect.
When I try to change/add values for the column just what ever values are allowed.
regards
Jukka Aakula
const string sDilutionValueList = @"DilutionValueList";
if (!e.Layout.ValueLists.Exists(sDilutionValueList)) { ValueList svl = e.Layout.ValueLists.Add(sDilutionValueList); svl.ValueListItems.Add(1, "1"); svl.ValueListItems.Add(2, "2"); svl.ValueListItems.Add(3, "3"); } grdStandards.DisplayLayout.Bands[0].Columns[4].ValueList = e.Layout.ValueLists[sDilutionValueList];
Thank you Boris!
That solution worked for me. I will try now to apply that for my solution.
Jukka
Hello Jukka,
I tried this and it always works fine for me so I attached my sample to this post for you. Please review it and feel free to let me know if I misunderstood you or if you have any other questions.
Hi Mike,
> Are you saying that the ValueList is not showing up in the grid at all?
Yes
> Do you see a DropDown button in the cell?
No
> Can you drop it down?
> Is the cell editable via the keyboard?
regards, Jukka Aakula
Hi,
I'm afraid I do not understand what you are asking. Are you saying that the ValueList is not showing up in the grid at all? Do you see a DropDown button in the cell? Can you drop it down? Is the cell editable via the keyboard?