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
105
Can't add row to UltraGrid
posted

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 code
UltraGrid1.DataSource = listOfEvents
UltraGrid1.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 appreciated
Thanks in advance