What interface allows DataGridView databinding to utilize the newrow?

T

t.mall10

I've tried 2 different methods of binding a DataGridView:

1) a class derived from ArrayList that implements IBindingList, with
the property AllowNew set to True;
2) a BindingList<T> collection

Both show data in the grid, because both implement IList, but in:

1) no matter what I try to implement in addition to IBindingList
(ICancelAddNew, etc) I can't get the grid to auto-display the new row;

2) the grid shows the blank * new row and allows new data

Is there an interface, or group of interfaces, that can be added to a
base class that will allow the DataGridView to handle new rows,
without resorting to deriving from one of the collection classes?

TIA,

tmall
 
T

t.mall10

hello,

Is there a particular class interface that enables the DGV to display
and utilize the blank new row, for data entry, when it's DataSource
implements IList?

Any help regarding this matter would be greatly appreciated,

tmall
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top