Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Michael on Apr 22, 2008 08:18
open dhtmlx forum
Calendar and function split of Grid

Hi,

I have a problem with a function split with a calendar.

When I use the calendar in a cell of first grid in a split grid. The calendar opens correctly, however when one clicks on a date, the calendar don't close. If I click outside the grid, the calendar close good and the cell is updated.

If I remove the Split function or that the date is in the 2éme table of Split, the calendar functions correctly.

Already found this problem? Do you have a solution? I have a version 1.4 of DhtmlxGrid.

        var z=document.createElement("DIV");
        document.body.insertBefore(z,document.body.firstChild);
        window._grid_calendarA=new dhtmlxCalendarObject(z,false, {isYearEditable :true} );
        _grid_calendarA.loadUserLanguage('en-us');
        _grid_calendarA.setYearsRange(1900, 2100);
        
        _grid_calendarA.draw();
        _grid_calendarA.hide();
        _grid_calendarA.setSkin("yahoo");
        var sgrid=this.grid;
        _grid_calendarA.setOnClickHandler(function(){
            this._last_operation_calendar=true;             
            window.setTimeout(function(){sgrid.editStop()},1);
            return true;
            });

The return functions well without the Split function.

Thank you.

Michael
Answer posted by Support on Apr 22, 2008 09:20
Please try to use latest version of calendar excell it must resolve issue
If problem still occurs for you - please send any kind of sample where problem can be reconstructed.
Attachments (1)