Question

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.

Was it helpful?

Solution

You can freeze the datagridview column, like this:

dataGridView1.Columns("ColumnName").Frozen = True
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top