G
gadgetophile
Running VS2005 Release Candidate, I'm having a bit of a headache with
DataGridView row-level properties.
If I try to make changes to row properties (e.g. myDGV.Rows[0].ReadOnly
= true, or myDGV.Rows[0].Frozen = true) in the Form_Load, after
databinding, the changes do not "stick". Stepping through the code, I
can see definitely that the properties are set, and I can query their
values to show this.
However, the desired behaviour does not happen (e.g. the row is not
readonly, nor frozen). If I make the change later in the form
lifecycle (e.g. on grid mouseover) it works fine. Is this a known bug?
DataGridView row-level properties.
If I try to make changes to row properties (e.g. myDGV.Rows[0].ReadOnly
= true, or myDGV.Rows[0].Frozen = true) in the Form_Load, after
databinding, the changes do not "stick". Stepping through the code, I
can see definitely that the properties are set, and I can query their
values to show this.
However, the desired behaviour does not happen (e.g. the row is not
readonly, nor frozen). If I make the change later in the form
lifecycle (e.g. on grid mouseover) it works fine. Is this a known bug?