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

edit template

Thread ID:

Created:

Updated:

Platform:

Replies:

143838 Apr 7,2019 04:02 PM UTC Apr 9,2019 05:17 AM UTC Vue 3
loading
Tags: Schedule
Oleg
Asked On April 7, 2019 04:02 PM UTC

I have to make a custom event edit template for my schedule

I made workScheduleEdit.vue for it

im my workSchedule.vue  main file - I have:

import WorkScheduleEdit from './WorkScheduleEdit'

Vue.component('WorkScheduleEdit', WorkScheduleEdit);


editorTemplate: function(e) {
                return {
                    template: WorkScheduleEdit,
                   
                };
            },
          

All works, but!

in workSchedule.vue I have "account"  object - 

computed: 
        mapGetters({
            account: 'auth/getAccount',
            editor() {
                return this.$refs.myQuillEditor.quill;
            }
        }),


1. I need to pass this Account object into my Edit but dont know how I can do it
2.  second issue - I cannot use  $t method of VueI18n - in WorkScheduleEdit it returns undefined






Oleg
Replied On April 8, 2019 03:45 PM UTC

Ok, seems too complicated.

Another question - is there away to disable the editor?
I want to open my own custom dialog on cell doubleclick 

I use cellDoubleClick event but after my custom dialog opens, syncfusion event editor opens too.
I tried readonly =false - but this case no cellDoubleClick events 
cellClick not an option - because no way to move- resize event after - any cell click will always open my dialog.

Oleg
Replied On April 8, 2019 10:31 PM UTC

Ok, I found the answer


onPopupOpen: function(args) {
            args.cancel = true;  //disable the original edit popup

       },

Karthigeyan Krishnamurthi [Syncfusion]
Replied On April 9, 2019 05:17 AM UTC

Hi Oleg, 
 
Greetings from Syncfusion. 
 
We are happy that you have found the solution. 
 
Please let us know if you need further assistance. 
 
Regards, 
Karthi 


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