Hi everybody, I"m a newbie to using the Infragistics NetAdvatange For Windows Forms. I was wondering if there is a way where i can populate an UltraWinGrid dynamically with a list. For instance I have a List<EntityObjects> and I need to bind this list to an UltraWinGrid control. Any help would be very useful. Thanks.
Hello,
To bind a grid to list you should set your List<> for data source of the grid, but I believe that you should use BindingList, because when a value is changed it notify the UltraGrid to refresh its layout automatically. Here are some links in our online help generally how to accessing data with WinGrid, Generic Lists, IList and IBindingList and generally to Editing Data which might be helpful for better understanding the WinGrid.
http://help.infragistics.com/Help/NetAdvantage/WinForms/2010.2/CLR2.0/html/WinGrid_Accessing_Data.html
http://help.infragistics.com/Help/NetAdvantage/WinForms/2010.2/CLR2.0/html/WinGrid_Generic_Lists.html
http://help.infragistics.com/Help/NetAdvantage/WinForms/2010.2/CLR2.0/html/WinGrid_IList_and_IBindingList.html
http://help.infragistics.com/Help/NetAdvantage/WinForms/2010.2/CLR2.0/html/WinGrid_Editing_Data.html
let me know if you have any further questions.
Hi,
I just wanted to know if you were able to solve your issue based on my suggestions or you still need help? Just let me know.
Thank you.