7

I have a ListView in VB.Net. I want to use it to display a table of data. 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 item of each row.

  • Can I change that?
  • Is there a better component to display tables? (I've already tried the DataGridView. I don't like it's appearance)
Stefanos Kargas
  • 10,547
  • 22
  • 76
  • 101

2 Answers2

12

This should simply be a matter of setting FullRowSelect on the control to be True.

AakashM
  • 62,551
  • 17
  • 151
  • 186
3

Change the FullRowSelect property to True.

Hans Passant
  • 922,412
  • 146
  • 1,693
  • 2,536