I have a table on one of my pages that is connected to a database. Each row represents an item in the database. I am trying to get it so that I can get the index/id of the item in the database when a row is selected. I use the $w("#database").getCurrentItemIndex() inside the rowSelect function of the table and the index I get is the index of the item on the table not database. I would appreciate any help.