I have a datagridviewcombobox column, which works well only when the VirtualMode property is false. Otherwise, the value selected from the list will not be displayed in the column. This is added like this
colCategory.Name =
colCategory.DataPropertyName =
colCategory.HeaderText =
colCategory.SortMode =
colCategory.Items.AddRange(
Also, I am generating the serial no automatically like this:
private
{
}
This works only when the VirtualMode property is set to true.
BTW, I cannot take an AutoIncrement column for various other reasons.
Is there any workaround to achieve both of them in the same datagrid?