         }
         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)

    public function get dataGrid():DataGrid
    {
        return DataGrid(owner);
    }
    
    //----------------------------------

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