Hi All -
I am using a datagrid to display child records on a form displaying parent-child records.
When adding a new row which also happens to be the first child row for that parent record, when I out of the last cell, the cursor winds up back in the first column of the current row, instead of in the first column of a new row as it should.
Subsequent rows work as expected (i.e. focus moves to the first cell of a 'new' row after tabbing out of the last cell of the above row)
I have ruled out the following as causes (each of which was highly suspect -- until disproved by testing!):
- having unmapped column styles
- unexpected behavior of my Row/Column Changed/Changing handlers for the underlying dataset
- binding the datagrid to the relation vs. directly to the child table
Has anyone else had this or similar experience? ...Know what the problem is and how to fix it? Thanks!
PS - I know this isn't a WinForms FAQ question, but this seems like a knowledgeable crowd + the FAQ touches on some closely related issues.
PPS - the 'reply without quote' button is broken. it included all the text from the previous message.