I am displaying data dynamically into the table view from sqlite3 database. whenever a limit reached (for ex. indexPath.row=15 is limit) the query will executed and the next set of data will be displayed. but here my problem is if I scroll the table if the table reaches the limit, the started to reloading continuously, til i scroll down to make the indexPath less then 15. so how to make someother cell with indexPath less then 15 as selected cell.