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
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