Updated to pass qtindex to _get_row_id