Hi,
I am new to this Infragistics...Ultragrid.
How do I add dropdown into ultragrid cell from the actual data from table (SQL Server) including other non dropdown columns? I have seen the ValueList method but the line below is giving me error....where is this ValueList situated...what's the name of the namespace.... Or how can I bound a table's column to a dropdown inside ultragrid...
ValueList v1;
Please let me know.
Thanks
Sandy
Hi sandy,
To get a dropdown in the ultragridcell you need to
Friend WithEvents uddYourItem As New Infragistics.Win.UltraWinGrid.UltraDropDown
2.Bind it with a datasource
uddYourItem.Datasource = //your Datasource//
3.Assign this ultradropdown as valuelist to ur desired column in initialize event
e.layout.bands(0).column("YourCol").valuelist=uddYourItem //dropdown control as valuelist to your column
hope helps u . ..
What I did is created an UltraDropdown and populated with data in the main form and then attached this dropdown to the dropdown in ultragrid. this works. But I could not define as "ValueList v1;" as the example in knowledge base said.