Please bear with me - I'm learning how to use the datagrid as a trial user and have been searching the forums and docs for hours to no avail...
I have a situation where if the user selects a certain item in a combobox outside of the grid, the grid should not allow new items to be added, but should still allow changes to items in it. How can I do this in VB?
I have tried to hide the insertion row, but the only place I can get a reference to it is in the InsertionRowInitializing event, but that is raised after the user clicks in it, but I would like it to be hidden sooner than that.
I am using a DataGridCollectionViewSource bound to a custom collection of objects that inherits the IBindingList interface.
Thanks,
Marcus