Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
320
Problem with Value List in UltraWebGrid
posted

Hi all,

I have a UltrawebGrid and a programmatic built value list in it.

In the InitialLayout Event I have the following code:

e.Layout.Bands(0).Columns.FromKey("curr_kind").Type = ColumnType.DropDownList
e.Layout.Bands(0).Columns.FromKey("curr_kind").ValueList.DisplayStyle = alueListDisplayStyle.DisplayText


Dim state As ValueList = UltraWebGrid1.Bands(0).Columns.FromKey("curr_kind").ValueList
state.DataSource = mycurrlist
state.DisplayMember = "kind"
state.ValueMember = "id"
state.DisplayStyle = ValueListDisplayStyle.DisplayText
state.DataBind()

The problem is now, that the Ultrawebgrid still shows the value, only if I click in the cell the text is displayed.

How can I manage it that the grid shows all entries as text (display member) instead of the value?

Thanks & Best regards,

Oliver

Parents
No Data
Reply Children
No Data