This is a migrated thread and some comments may be shown as answers.

[Solved] 'date' is undefined error while filtering on date column

2 Answers 45 Views
Grid
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
nefis
Top achievements
Rank 1
nefis asked on 26 Jun 2012, 09:00 PM
the bug is in build 2012.2.607
it looks like a refactoring/typo error.
my fix to it was to go to line 28334 of telerik.all.js and change 

value = new Date(parseInt(date.replace(/\/Date\((.*?)\)\//, '$1')));

to

value = new Date(parseInt(value.replace(/\/Date\((.*?)\)\//, '$1')));

2 Answers, 1 is accepted

Sort by
0
dwayne forehand
Top achievements
Rank 1
answered on 27 Sep 2012, 12:12 AM
If you are modifying the min version for this fix then instead of "value" you use "h".  Thanks Nefis!
0
Jacob
Top achievements
Rank 1
answered on 11 Oct 2012, 03:58 PM
I am hitting this issue as well. Is there a bug raised for this?
Tags
Grid
Asked by
nefis
Top achievements
Rank 1
Answers by
dwayne forehand
Top achievements
Rank 1
Jacob
Top achievements
Rank 1
Share this question
or