VB.Net - select the whole line in the multi-column ListView and not only the first element

I have a ListView in VB.Net. I want to use it to display a data table. However, I want to be able to click on a row and select it . The component allows me to select a row only by clicking on the first element of each row.

  • Can i change this?
  • Is there a better component to display tables? (I already tried DataGridView. I don't like the look)
+7
source share
2 answers

This should be just setting FullRowSelect on the True control.

+11
source

Change the FullRowSelect property to True.

+3
source

All Articles