javascripts/basepack.js in skozlov-netzke-basepack-0.1.0.1 vs javascripts/basepack.js in skozlov-netzke-basepack-0.1.1
- old
+ new
@@ -31,11 +31,22 @@
return new Ext.form.NumberField({
selectOnFocus:true
})
},
+ // TODO: it's simply a text field for now
datetime: function(c, config){
return new Ext.form.TextField({
selectOnFocus:true
})
}
+};
+
+// Mapping of showsAs field to grid filters
+Ext.netzke.filterMap = {
+ number_field:'Numeric',
+ text_field:'String',
+ datetime:'String',
+ checkbox:'Boolean',
+ combo_box:'String',
+ date:'Date'
}
\ No newline at end of file