In the DataGridComboBox column class you can add
Public Event ComboSelectedIndexChanged()
Than you can make an event in that class for the SelectedIndexChanged which
has the row
RaiseEvent ComboSelecteIndexChanged()
Than in the form you have to make the combobox global (private) withevents,
than you can catch it. I did try it however did not look for side effects, I
saw it fires more than you probably want so that you should prevent too.
In a datagrid you should try never to access the datagrid itself however
always the underlaying table. And if possible using the dataview that you
have created because otherwise you can have problems when the user sorts the
datagrid.
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.