dhxCalendarA and Sort

Hi

I have a dhxCalendarA column and setting the sort type is date. however when i click on the column to sort it i get a script error saying



A Runtime error has occurred

do you wish to debug?

line 1454

Error: The object or property does not support this property or method.





Using the following includes:



    





the dhtmlxgrid_excell_dhxcalendar.js was downloaded from :

dhtmlx.com/docs/products/kb/ … xCalendarA

Thanks again

Cliff

The issue can’t be reconstructed locally - please check attached sample, it uses the same approach and works correctly.

If problem still occurs for you - please send any kind of sample where issue can be reconstructed. ( you can send it directly to support@dhtmlx.com )


1212140958.zip (100 KB)


My fault i had changed one of the cells to ro which caused the error:



Column was defined as dhxCalendarA
had set to  in the same column.



remove the cell type resolved the issue.

Yes, such situation can cause error.
If you need to use “ro” cells in the same column with dhxCalendar - you can add next line before grid initialization

eXcell_ro.prototype.getDate=function(){return this.getValue();}