G
Guest
I am trying to do a 'simple' task in a DGV control.
The problem is this.
I have an unbound DGV with all 'AllowUser' options disabled.
RowHeader.Visible=False
ColumnHeader.Text is labelled as needed.
For simplicity the DGV has 7 columns and 15 rows.
The 15 rows are populated and the DGV is made visible.
Everything is just fine.
But now I want rows 6,7 and 11,12 to have different column spacing to the
other rows.
I have not been able to find a way.
I tried hanlding the DGV.CellFormatting Event but cant get the desired
results.
In other words I want one DGV control to have different column widths
depending on row number?
Can anyone out there help?
Thanks
The problem is this.
I have an unbound DGV with all 'AllowUser' options disabled.
RowHeader.Visible=False
ColumnHeader.Text is labelled as needed.
For simplicity the DGV has 7 columns and 15 rows.
The 15 rows are populated and the DGV is made visible.
Everything is just fine.
But now I want rows 6,7 and 11,12 to have different column spacing to the
other rows.
I have not been able to find a way.
I tried hanlding the DGV.CellFormatting Event but cant get the desired
results.
In other words I want one DGV control to have different column widths
depending on row number?
Can anyone out there help?
Thanks