Hi
How do you set the display member on the Ultragrid drop down when using value list?
I would like to set my diplay member to "i" on the below code sample.
);
i = 0; i <= 18; i++) {
{
(i == 0 || i >= 12) vlPeriod.ValueListItems.Add(i,
vlPeriod.ValueListItems.Add(i,
else
vlPeriod.ValueListItems.Add(i, i.ToString());
}
e.Layout.Bands[0].Columns[
];
Thanks
Staggga
Hello Staggga,
You could try setting the 'DisplayStyle' property of your valuelist:
vlPeriod.DisplayStyle = ValueListDisplayStyle.DataValue;
Please do not hesitate to ask if something comes up.