views:

29

answers:

0

Hi,

In a DataGridView, it is possible to set an individual DataGridViewCell like this:

dataGridView.Item(columnIndex, rowIndex) = New DataGridViewTextBoxCell.

However, is the new DataGridViewCell is set before his owning column become visible, it seems that the individual cell will be replaced (or marked?) by the column default cell.

Is there a way to fix this?

Regards,

Simon