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
1210
How to Add a Row in ultra win grid without datasource(All unbound columns)
posted

Hi Mike,
    We have a UltraGrid with all unbound columns (No Data source) When we are trying to add a Row using band.AddNew() method throws exception 'Not enough context to add a new row. Either a row in this band or the parent band has to be active to provide for enough context.'.  Because of some reasons we are not using data source, Is there any way to add a new row without using data source.

Thanks in advance.

--
Ganesh

Parents
No Data
Reply
  • 469350
    Offline posted

    Hi Ganesh,

    The grid cannot be used unbound, it must have a DataSource in order to function. So I recommend that you use UltraDataSource or a BindingList<T> or a a DataTable you create in code.

Children
No Data