Kirill Vorobjov
Kirill Vorobjov

Reputation: 87

Listview first column fixed and independent from other columns c#

I have 6 columns in my listview. Column 0 shows number of a row. Other columns are being loaded with some data from text files.

Is it possible to make a fixed first column that is independent from other columns and not affected by sorting in listview?

first column

If this is possible can someone give a tip on how to accomplish that ?

Upvotes: 1

Views: 1373

Answers (1)

Willy David Jr
Willy David Jr

Reputation: 9131

Technically speaking, ListView doesn't support this function. You can't do this.

I suggest use DataGridView and use its column Frozen property.

Upvotes: 2

Related Questions