         }
         else if (typeInfo == "Number")
         {
-            if (!(newData is int))
+            if (!(newData is Number))
                 newData = Number(newData);
+        }
+        else if (typeInfo == "Boolean")
+        {
+            if (!(newData is Boolean))
+                newData = Boolean(newData);
         }
      
         if (property && data[property] != newData)

            }
        }
        
        if (typeInfo == "String")
        {
            if (!(newData is String))

    public function get dataGrid():DataGrid
    {
        return DataGrid(owner);
    }
    
    //----------------------------------
    //  editorUsesEnterKey
    //----------------------------------
    
    private var _editorUsesEnterKey:Boolean = false;

    [Inspectable(category="General", defaultValue="false")]
    
    /**
     *  @inheritdoc
     */
    public function get editorUsesEnterKey():Boolean
    {
        return _editorUsesEnterKey;
    }
    
    /**
     *  @private
     */
    public function set editorUsesEnterKey(value:Boolean):void
    {
        _editorUsesEnterKey = value;
    }
    
    //----------------------------------
