Calendar don't close

Hi,



I’m using dhtmlxgrid (version 70223) with patch rotxt_patch.j



I have a problem only with Firefox.



When I double click on a calendar cell, I open a calendar and I can select a date. I click to choses a date, the calendar is closing and in my cell I have my new date.



But I double (double click) too fastly on a calendar cell, I open a calendar but when I select a date there’s nothing. The calendar and the grid is blocked and I have the following error:



this.cell is null

[Break on this error] this.cell.className=this.cell.className.replace(“editable”,"");





I know it’s not usual but you know user



THANKS FOR YOUR HELP





CODE



mygrid.setInitWidths(“130,100,60,45,0,60,45,0,110,90”)

mygrid.setColAlign(“left,center,center,right,left,left,right,left,left,center”)

mygrid.setColTypes(“co,edtxt,calendar,edtxt,rotxt,edtxt,edtxt,rotxt,edtxt,edtxt”);

mygrid.setColSorting(“str,str,str,str,str,str,str,str,str,str”)

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

    mygrid.setOnRowSelectHandler(OnClickedRow,true);

    mygrid.setOnEditCellHandler(OnEditCellHandler);

mygrid.setOnRightClick(OnRightClick)             

mygrid.enableAutoHeigth(true);

    mygrid.enableMultiline(true);

    mygrid.init();

mygrid.enableAlterCss(“even”,“uneven”);

The issue alredy fixed in latest codebase.
Please try to use attached patch with your version of dhtmlxgrid.

dhtmlxgrid_edit_patch.zip (613 Bytes)

Hi,

I’m using the patch like this


   
   
   
   
   
   
   
   
   


But I have the same problem

Please send dhtmlxgrid.js which you are using to support@dhtmlx.com ( with reference to this post ) - we will reply with fixed version.

here my dhtmlxgrid.js file

Thanks

Updated js file sent by email.

Thanks, It’s work very well!