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
205
How to add dropdown into ultragrid from actual data from the table
posted

 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

Parents
No Data
Reply
  • 1803
    posted

    Hi sandy,

    To get a dropdown in the ultragridcell you need to

    1.Add a infragistics Ultradropdown control  like

    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 . ..

Children