setDateFormat on v.2.6 build 100722 of dhtmlxgrid


I am trying to set the date format on my grid, when I run the page i get the following error

mygrid.setDateFormat is not a function

here is my code


Can someone help please.

setDateFormat() method is available in PRO version only.