Changeset 12308

Show
Ignore:
Timestamp:
02/07/08 08:01:04 (11 months ago)
Author:
sorvell
Message:

!strict minor updates to grid dijit combobox and checkbox editor to fix grid/tests/test_edit_dijit.html

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • dojox/trunk/grid/_data/dijitEditors.js

    r11257 r12308  
    44dojo.require("dijit.form.TimeTextBox"); 
    55dojo.require("dijit.form.ComboBox"); 
     6dojo.require("dojo.data.ItemFileReadStore"); 
    67dojo.require("dijit.form.CheckBox"); 
    78dojo.require("dijit.form.TextBox"); 
     
    120121        getValue: function(){ 
    121122                return this.editor.checked; 
     123        }, 
     124        setValue: function(inRowIndex, inValue){ 
     125                if(this.editor&&this.editor.setAttribute){ 
     126                        this.editor.setAttribute("checked", inValue); 
     127                }else{ 
     128                        this.inherited(arguments); 
     129                } 
     130        }, 
     131        sizeEditor: function(inNode, inDatum, inRowIndex){ 
     132                return; 
    122133        } 
    123134});