                 # ATN: set_query_result?
                 @results_view_wrapper.set_query_result
                     query_result: @state.query_result
-                    current_index: @state.current_position # ATN: TODO current_index
 
             # ATN: results_view_wrapper.render?
             @$('.results_container').html @results_view_wrapper.render(query_has_changed: @query_has_changed).$el

                    @start_index = 0
                    @value = value
                    @ended = true
                @trigger 'sync', @

        # Remove n elements from the result set of a cursor Waits for
        # n+1 elements, or the end before returning

            @container.state.view = view
            @$(".link_to_#{@view}_view").addClass 'active'
            @$(".link_to_#{@view}_view").parent().addClass 'active'
            @new_view()

        set_scrollbar: =>
            if @view is 'table'
