none
Select a single cell in listview

    Question

  • Dear All,

    I am using the listview with C# in VS.NET 2005. I would like to select a single cell (not just cells in the first column). I want to have a cell free selection and it highlight the selection in the cell as well.

     

    Appreciate your help.

     

    LG

    Friday, February 17, 2006 3:41 PM

Answers

  • To my knowledge the ListView control does not support this. You need to use a DataGrid or DataGridView control. I’d recommend using the DataGridView control if you can use Visual Studio 2005. It has multiple selection modes.

     

    -mark

    DataGridView Program Manager

    Microsoft

    This post is provided "as-is"

    Saturday, February 18, 2006 2:03 AM

All replies

  • To my knowledge the ListView control does not support this. You need to use a DataGrid or DataGridView control. I’d recommend using the DataGridView control if you can use Visual Studio 2005. It has multiple selection modes.

     

    -mark

    DataGridView Program Manager

    Microsoft

    This post is provided "as-is"

    Saturday, February 18, 2006 2:03 AM
  • Many thanks Mark. Is there anyway to work around for this free cell selection? Please let me know.

     

    LG

    Saturday, February 18, 2006 2:20 AM