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
240
How to bind a WinDropDown to a Column by Code
posted

Hi @all,

in my app I've a List of business objects to a grid with no layout definition like this:

Dim liBO as List(Of CD) = BO.GetCDList()
UltraGrid1.SetDataBinding(liBO, "")

In the InitializeLayout Event of the Grid I want to add a WinDropDown, which was previous initialized with some other data, to a column of the grid like this:

e.Layout.Band(0).Columns("Media").ValueList = uddMedia 

But after all the WinDropDown doesn't appear in the column.
What am I missing here?
What must be done for this scenario to work?

Any help is appreciated.

Regards
HowieD

Parents Reply Children
No Data