Some schedule problems

Hello!

I have some questions:

     1. I need to catch datas from two tables with diferents fields, for one of them I´m using a dataManager, but i dont know how i can have the datas from the other table, this table has ben blocked in the scheduler
     2. Im using firstDayOfWeek="1" but my weeks start on Sunday instead of Monday, how can i solve it?
     3. How can i cacht the event when i change from month current view to for example day? i want to do a function when the user click double in a cell in the month current view show this cell in a day format

I hope your answer, thanks so much!

3 Replies 1 reply marked as answer

BS Balasubramanian Sattanathan Syncfusion Team July 7, 2020 04:17 PM UTC

Hi Jose Alejandro, 
 
Greetings from Syncfusion Support. 
 
Query 1: 
For this query, we suggest you to refer the following UG. If we misunderstood, kindly share the below details to proceed further. 
  • Share your use case scenario
  • Replicate your scenario in the below shared sample
 
Query 2: 
We have validated your reported problem at our side and checked the “firstDayOfWeek=1” by preparing the sample. Since the firstDayOfWeek property is properly applying to the Scheduler. 
 
<div class="control-label"> 
    <div class="control-section"> 
        <ejs-schedule id="schedule" height="550px" firstDayOfWeek="1" currentView="Month" navigating="onNavigating"> 
            <e-schedule-eventsettings> 
                <e-data-manager url="/Home/LoadData" crudUrl="/Home/UpdateData" adaptor="UrlAdaptor" crossDomain="true"></e-data-manager> 
            </e-schedule-eventsettings> 
        </ejs-schedule> 
    </div> 
</div> 
 
Query 3: 
We can achieve this requirement by making use of the navigating event of the Scheduler like the below code snippet. 
 
<script> 
    function onNavigating(args) { 
        if (args.action === "view") { 
            console.log("Previous view is " + args.previousView); 
            console.log("Current view is " + args.currentView); 
        } 
    } 
</script> 
 
 
Kindly try the above sample and let us know if you need further assistance. 
 
Regards, 
Balasubramanian S 



UN Unknown Syncfusion Team July 8, 2020 11:23 AM UTC


The problem with firstDayOfWeek="1" is because im using especifics view options and i have to introduce there the function.

<e-schedule-view option="Week" displayName="Semana" eventTemplate="#EventTemplate" firstDayOfWeek="1"></e-schedule-view>
<e-schedule-view option="Month" displayName="Mes" isSelected="true" eventTemplate="#EventTemplate" firstDayOfWeek="1"></eschedule-view>

the other problems i solved with other methods but it well know it.

Thanks so much!
Have a nice day :)


VM Vengatesh Maniraj Syncfusion Team July 9, 2020 05:54 AM UTC

Hi Jose, 
 
Thanks for the update.  
 
We checked the reported problem and we let you know that we have fixed this problem and included the changes in our latest package (v18.2.0.44). So we suggest you please upgrade the package version to the latest v18.2.0.44 to avail of the fix. 
 
Regards, 
Vengatesh  


Marked as answer
Loader.
Up arrow icon