dhtml calendar

Hi,



I am using agrid with colTypes edn,edn,calendar

and i have used clumn sorting int,int,date



But if i m giving a date in the format (dd-Mon-yyy) that column is displayed blank.



here is my sample xml

<?xml version="1.0" encoding="UTF-8"?>



    

        -1500

        12.99

        05/01/1998

    



        -1501

        12.99

        12-Mar-1998

    




Hello,


The calendar excell requires date in the correct javascript format.


mm/dd/yyyy


So, there must be 05/01/1998 in the xml.


Using setDateFormat method you can display the date in the necessary format:


grid.setDateFormat(“m-d-y”);