I assume your formatter function is inside your view's controller?
In that case, you should prefix the call to your formatter with a dot:
{path:'StartDate', formatter:'.formatDate'}
I assume your formatter function is inside your view's controller?
In that case, you should prefix the call to your formatter with a dot:
{path:'StartDate', formatter:'.formatDate'}