iOS Question iTableView - Suppress Focus

Discussion in 'iOS Questions' started by RichardN, Jun 17, 2015.

  1. RichardN

    RichardN Active Member Licensed User

    I am using the iTableView to display the resulting records from a database query. In this instance it has no selectable functionality other than simply to display a line of text in each cell.

    When you touch a cell it gains focus and changes colour. Is it possible to suppress that individual cell 'selectable' functionality of the iTableView without disabling the whole view ?
  2. Erel

    Erel Administrator Staff Member Licensed User

    Set the ShowSelection property of all items to false:
    Dim tc As TableCell = tv.AddSingleLine("item ")
    tc.ShowSelection = 
    RichardN likes this.