2 Replies Latest reply: May 14, 2013 1:08 PM by sselvia RSS

    How to determine if a TableView row is Visible?

    sselvia
      I'm updating rows in a tableview and I want to only scroll to the row if the row is not visible in the viewport. I'm running in a process using a service/task class and I'm currently using the platform run later to perform the scrollto method on the table view.

      I was hoping to only perform the scrollto method if the row is not visible, performing so many "run later's" on the table view seems to bog down the UI.

      Is there away to determine if a row index "I" is not visible and then perform the scrollto method if the row is not visible?