Hello,<?xml:namespace prefix = o ns = “urn:schemas-microsoft-com:office:office” /><o:p></o:p>
I have a DATE type column in the Grid and I have assigned dates from JS Array. Now, I want to sort the column by the date by clicking the column header. As of now, I could not found date type ‘setColTypes’ definition so I am using string type column definition.
Please let me know ‘setColTypes’ definition for DATE type.<o:p></o:p>
Thanks,
RamaRao R.
Hello
there isn’t date type. You can use dhxCalendar and dhxCalendarA to apply “date” sorting:
mygrid.setColTypes("…,dhxCalendar,…");
mygrid.setColSorting("…,date,…");
The sample is dhtmlx.com/docs/products/dht … _grid.html