             'click .jt_arrow': 'toggle_collapse'
             'keypress .jt_editable': 'handle_keypress'
             'blur .jt_editable': 'send_update'
-            
             # For Table view
             'mousedown td': 'handle_mousedown'
             'click .jta_arrow_v': 'expand_tree_in_table'

                when  'raw'
                     @.$('.results').html @json_to_tree @current_result

            @delegateEvents()
            return @

        toggle_collapse: (event) =>

        render: (query, result) =>
            if query? and result?
                @.$el.html @result_view.render(query, result).el
                @result_view.delegateEvents()
            else
                @.$el.html @default_view.render().el

