PDA

View Full Version : [OPEN-1459][3.3.1]Ext.ux.grid.GridFilters : DatePicker Value confused with DateFormat



Pachat
6 Dec 2010, 11:05 AM
When clicking on the DatePicker, let say, 12/03/2010, the "value" send through the "filters" is the dateFormat instead of clicked date

Ext.ux.grid.GridFilters.buildQuery shows :
23690

In

Ext.ux.grid.GridFilters = Ext.extend(Ext.util.Observable, {
...
getFilterData : function () {
var filters = [], i, len;

this.filters.each(function (f) {
if (f.active) {
var d = [].concat(f.serialize());
for (i = 0, len = d.length; i < len; i++) {
filters.push({
field: f.dataIndex,
data: d[i]
});
}
}
});
return filters;
},
f already has f.value = the dateFormat.
I don't know how to find the orgine of this.