     e.stopPropagation()
 
   select: (value) ->
-    #@selectButton.prop("checked", value)
-    #@selectButton.val(value)
     @setChecked @selectButton, value
     @select_(value)
 

      value = values[i]
      if !value?
        value = ''
      #$(@editors[i]).val(value)
      @editors[i].getModel().setText(value);

  getValues: ->
    values = [];
    for editor in @editors
      #values.push($(editor).val())
      values.push(editor.getModel().getText());
    return values;


    @selectButton = $$ ->
      @input {type: 'checkbox', class: "select input-checkbox"}
    @selectButton.click (e) => @clickSelect(e);
    jselect.append(@selectButton);
    @appendChild(selectElement);

