       code = $(e.currentTarget).val()
       source = @model.get_obj('source')
       source.rpc('search', [code])
-
+      e.preventDefault()
   column_del : (e) =>
     source = @model.get_obj('source')
     old = source.get('computed_columns')

      if size + @mget('offset') > @mget('maxlength')
        size = @mget('maxlength') - @mget('offset')
      @model.save('length', size, {wait:true})

  tablecontrolstate : () ->
    @mset('tablecontrolstate', @$('.tablecontrolstate').val())


      old = source.get('computed_columns')
      old.push(name : name, code : code)
      source.rpc('set_computed_columns', [old])
      e.preventDefault()
  clearselected : (e) =>
    @model.rpc('setselect', [[]])

