Domanda

I'd need a way to keep the first column visible in a Datagridview when i scroll sideways, like you can do in Excel. To sort of "float" on top of the other cells and remain allways visible. I've searched around quite a lot but wasnt able to find anything.

È stato utile?

Soluzione

You can freeze the datagridview column, like this:

dataGridView1.Columns("ColumnName").Frozen = True
Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top