We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: June 24, 2019).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Editor windows does not popup when double click

Thread ID:

Created:

Updated:

Platform:

Replies:

146414 Aug 2,2019 02:48 PM UTC Aug 26,2019 03:11 AM UTC JavaScript - EJ 2 6
loading
Tags: Schedule
Tezcan Cirakoglu
Asked On August 5, 2019 11:28 AM UTC

Hello,

I am using Syncfusion JS2 with community license, trying to develop a scheduling application in a Asp.net mvc project. I implemented initialization code and get scheduler view successfully. But when i double click on the view, editor window is not shown. (With one click, info popup is shown.) 

Also i could not add any appointment with code. Below is imports and functional codes.There is no exception, no javascript error, but event is not beeing added to schedule control.

Could you help?

Regards
         

//Page scripts
        var data = [{
            Id: 1,
            Subject: 'Paris',
            StartTime: new Date(2019, 8, 2, 10, 0),
            EndTime: new Date(2019, 8, 2, 12, 30),
        }];

        var scheduleObj = new ej.schedule.Schedule({
            height: '550px',
            selectedDate: new Date(2019, 8, 2),
            views: ['Day', 'Week', 'TimelineWeek', 'Month', 'Agenda'],
            eventSettings: {
                dataSource: data
            }
        });
        scheduleObj.appendTo('#scheduler');


        let Data = [{
            Id: 3,
            Subject: 'Conference',
            StartTime: new Date(2019, 8, 3, 9, 0),
            EndTime: new Date(2019, 8, 3, 10, 0),
            IsAllDay: false
        },{
            Id: 4,
            Subject: 'Meeting',
            StartTime: new Date(2019, 8, 3, 10, 0),
            EndTime: new Date(2019, 8, 3, 11, 30),
            IsAllDay: false
        }];

        scheduleObj.addEvent(Data);

Arun Palaniyandi [Syncfusion]
Replied On August 6, 2019 04:48 AM UTC

Hi Tezcan , 
 
Greetings from Syncfusion support. 
 
Based on your shared codes, we have tried to replicate this issue, but we were unable to replicate from our side. The Editor windows pops up correctly when double click the cell.  
 
We have also prepared a sample below for your convenience. 
 
To investigate your issue further please share us the below details. 
 
  • Open your console window and check for any console errors when you doubleclick on the cell and share the issue screenshot, if any?
  • Please share us your exact EJ2 version details?
  • If possible, please use our sample to reproducible your issue and get back to us to validate this in our side?
 
Please get back to us with the above asked details. 
 
Thanks,  
Arun P. 
 


Tezcan Cirakoglu
Replied On August 19, 2019 06:36 AM UTC

Hi, 

I just figured out the reason of this issue. Please chek the code below. When i add "fields" setting to eventSettings property, this error occures. If i comment those lines as seen below, everything works fine. 

    var scheduleObj = new ej.schedule.Schedule({
        height: '550px',
        selectedDate: new Date(2019, 8, 2),
        views: ['Day', 'Week', 'TimelineWeek', 'Month', 'Agenda'],
        eventSettings: {
            dataSource: data,
            //fields: {
            //    id: 'Id',
            //    subject: { name: 'Konu', title: 'Toplantı Adi' },
            //    location: { name: 'Yer', title: 'Yer'},
            //    description: { name: 'Aciklama', title: 'Toplantinin Konusu' },
            //    startTime: { name: 'Baslangic', title: 'Baslangic Zamani' },
            //    endTime: { name: 'Bitis', title: 'Bitis Zamani'  }
            //}
        }
    }); 

Tezcan Cirakoglu
Replied On August 19, 2019 06:38 AM UTC

just another thing, below code works fine. I removed "name" property from field settings:.. 

            fields: {
                id: 'Id',
                subject: { title: 'Toplantı Adi' },
                location: { title: 'Yer'},
                description: { title: 'Toplantinin Konusu' },
                startTime: { title: 'Baslangic Zamani' },
                endTime: { title: 'Bitis Zamani'  }
            }

Karthigeyan Krishnamurthi [Syncfusion]
Replied On August 20, 2019 09:05 AM UTC

Hi Tezcan, 

Thanks for your update. 

We suspect that field mapping is not proper in your sample which could be the cause. We have prepared the below sample with your code example, kindly try the sample and if the issue persists, try to reproduce the error in a sample and revert else share your runnable sample (if possible) to serve you better. 

 
Regards, 
Karthi 


Tezcan Cirakoglu
Replied On August 23, 2019 10:35 AM UTC

Correct! Field mappings were wrong, after correctiong values, it worked like a charm. Thanks a lot

Karthigeyan Krishnamurthi [Syncfusion]
Replied On August 26, 2019 03:11 AM UTC

Most welcome 😊 


CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

Live Chat Icon For mobile
Live Chat Icon