Hi suneel,
It worked for me.
I tried this in 15.0 version and it worked. I haven't checked in older versions of 14.0. I am not sure about the console error that you are facing.
Can you try 1 more thing.
add this line too in your code After the step of setFilterExpr()
alert(grid.getQueryObject().getFilterExpr());
We will get to know whether setFilterExprn is applying filter or not.
Regards,
Sriram