c# ListView focus on second column

Posted by James on Stack Overflow See other posts from Stack Overflow or by James
Published on 2010-04-26T10:10:40Z Indexed on 2010/04/26 10:13 UTC
Read the original article Hit count: 276

Filed under:
|
|

I have a ListView with several columns, let's say column A,B,C,D in that order, sorted by column A. In long lists I could press a letter on my keyboard and scroll down to the first item in column A that begins with the letter pressed.

A new column has been inserted at the beginning, yet I still want to be able to press a letter on my keyboard and scroll according to the values in column A which is now the second column. How can I set the focus back to column A without making it the first column?

© Stack Overflow or respective owner

Related posts about c#

Related posts about listview