guys, I’m having problem with one of two column type date
Column “Date 1”:
when I select a date -> Uncaught TypeError: Cannot read property ‘toString’ of null
when you clean the filter -> Uncaught TypeError: Cannot read property ‘filtercolumn’ of undefined
Column “Date 2”:
no problem!
// Source
...
datafields: [
...
{ name: 'date_one', type: 'date' },
{ name: 'date_two', type: 'date' }
],
...
// Column
{
text: 'Date 1',
datafield: 'date_one',
width: 90,
align: 'right',
cellsalign: 'right',
cellsformat: 'd',
columngroup: 'My',
editable: false,
filtertype: 'date'
},
{
text: 'Date 2',
datafield: 'date_two',
width: 90,
align: 'right',
cellsalign: 'right',
cellsformat: 'd',
columngroup: 'My',
editable: false,
filtertype: 'date'
}
// My localization
localizationobj.patterns = {
d: "dd/MM/yyyy"
};