Datagrid RowHeaderWidth changes to 15 when rebuilt
I have a read only datagrid in one of my forms. I use a context menu that has Edit to open another form to edit the values in the right clicked row. The editing form sets it's dialogresult to OK if the UPDATE SQL command terminates sucessfully.
When the form with the datagrid is returned to it rebuilds the datagrid to reflect the edited changes. This includes setting the TableStyle which sets values such as the Column Width, Column Field Name (of the datatable) and the Column Name. After the Table Style is set datagrid parameters are set such as AllowNavigation - False, BackgroundColor, ReadOnly - True, and RowHeaderWidth.
The RowHeaderWidth is 5, however, after this line is executed after an edit the RowHeaderWidth value sets to 15 and cannot be changed (I've tried in the Watch window).
During a step through with RowHeaderWidth in the watch when the .RowHeaderWidth = 5 line is executed the value in the Watch window changes to 15.
I've tried several values from 0 to 145 for the RowHeaderWidth but each time the value sets to 15.
Has anyone seen this happen?
Does anyone know what to do to keep this from happening?

