I have an UltraGrid (v7.3) that I am trying to allow the adding of rows to.This UltraGrid has a UltraDataSource as its datasource, where the columns are defined.
In the page load event I have the following codeUltraGrid1.DataSource = listOfEventsUltraGrid1.DataBind();
The listOfEvents is a List<> (code is written in c# 2005)
I have set the UltraDataSource to AllowAdd, however everytime I try to add a new row when the application is running I get the following error in a popup box...
"Unable to add a row:
Unable to add a new row. Underlying DataSource does not support adding new rows."
Is it possible to add new rows in this particular setup? or do I need to have a different underlying datasource?
Any help of this would be very much appreciatedThanks in advance
I have found that it is because I am binding to a List<> as opposed to binding to a BindingList<>
http://help.infragistics.com/Help/NetAdvantage/NET/2007.3/CLR2.0/html/Infragistics2.Win.UltraWinGrid.v7.3~Infragistics.Win.UltraWinGrid.UltraGridBase~DataSource.html