Resource grouping anomaly when using workDays, during view navigation

Hello!

I think I found a bug, below is a sample code of my implementation. The expectation is that there is no resource grouping in the month view, but when I navigate from the Day Vertical​ to Month ​view, the resource grouping appears on the month view.

Something to note is that on Day Views (Day + Day Vertical), the workdays are 0 - 6. Only the Day Vertical view has resource grouping.

https://stackblitz.com/edit/react-hfp5fy-2nglqt?file=index.js


13 Replies

RM Ruksar Moosa Sait Syncfusion Team July 14, 2022 01:43 PM UTC

Hi Paul


We have checked on your shared code and suggest you set the workDays property to each view separately to overcome the reported issue.

Modified Sample: https://stackblitz.com/edit/react-hfp5fy-r9smd6?file=index.js


Kindly try the above sample and let us know if you if this has resolved the problem.


Regards,

Ruksar Moosa Sait



PJ Paul Jackson July 14, 2022 02:56 PM UTC

Hello Ruskar, please have a look at the sample code again, I made some changes and there are still anomalies.

I added a button to swap between two sets of work days for the Week and Month views, and the state of the workdays for the view does not change


To reproduce, go to week or month, click the button and there is no work day change when there should be.


https://stackblitz.com/edit/react-hfp5fy-sqv4jt?file=index.js



PJ Paul Jackson July 18, 2022 01:32 PM UTC

Any news on this?



RV Ravikumar Venkatesan Syncfusion Team July 20, 2022 04:27 AM UTC

Hi Paul,


Thanks for the patience.


We have validated your reported issue at our end and confirmed this as a bug and logged the defect report "WorkDays property does not change on a button click" which can be tracked from the following link.


https://www.syncfusion.com/feedback/36436/workdays-property-does-not-change-on-button-click


The fix for this defect will be included in our upcoming patch release which is expected to be rolled out by the first week of August 2022. We would appreciate your valuable patience until then.


Kindly let us know if you need any further assistance.


Regards,

Ravikumar Venkatesan



PJ Paul Jackson August 9, 2022 06:35 PM UTC

Hello, has the fix for this issue been released?



RV Ravikumar Venkatesan Syncfusion Team August 10, 2022 03:19 PM UTC

Hi Paul,


Sorry for the inconvenience caused.


We are facing complexity in fixing the issue at our end. So, we are unable to provide the fix for the issue on the promised timeline. The fix for the issue will be included in the last week of August 2022 without any delay. We appreciate your patience and we will let you know once the patch is published.


Regards,

Ravikumar Venkatesan



PJ Paul Jackson September 3, 2022 07:46 PM UTC

Hi Ravi has this issue been resolved? 



VD Vinitha Devi Murugan Syncfusion Team September 6, 2022 09:38 AM UTC

Hi Paul,


The fix is rescheduled to our upcoming weekly patch release on September 20, 2022.  We appreciate your patience and we will let you know once the patch is published.


Regards,

Vinitha



PJ Paul Jackson September 20, 2022 03:53 PM UTC

Hello has this fix been published?



RV Ravikumar Venkatesan Syncfusion Team September 22, 2022 10:33 AM UTC

Hi Paul,


Sorry for the inconvenience caused.


We are currently working on this issue with high priority, since we have been facing complexity in the issue we couldn’t deliver it on time. The fix for the issue will be rescheduled to our upcoming Volume 3 release scheduled for the end of September. We appreciate your patience and we will let you know once the patch is published.


Regards,

Ravikumar Venkatesan



RV Ravikumar Venkatesan Syncfusion Team September 30, 2022 11:41 AM UTC

Hi Paul,


Thanks for being patience.


We are glad to announce that our Essential Studio 2022 Volume 3 release v20.3.0.47 is rolled out and is available for download under the following link. In this release, The issue with the “dynamic value changes of the workDays property (Array type) in the Scheduler component” has been resolved. As a result, we recommend you upgrade to the latest version of our Syncfusion packages to avail yourself of those changes. We have prepared a sample to change workDays based on view change and button click for your reference.


In your shared sample you have used the actionComplete event to change the workDays on view navigation. The navigating event of the Schedule will be triggered before the actionComplete event is triggered. So, we have used navigating event of the Schedule to change the workDays based on the selected view as shown in the below code snippet and we suggest you use the same.


[index.js]

  const onNavigating = (args=> {

    if (args.action === 'view') {

      setWorkDays(args.currentView === 'Day' ? [0123456] : [135]);

    }

  }


https://www.syncfusion.com/forums/177858/essential-studio-2022-volume-3-main-release-v20-3-0-47-is-available-for-download

Release notes: https://ej2.syncfusion.com/react/documentation/release-notes/20.3.47/?type=all#common

Sample: https://stackblitz.com/edit/ej2-react-schedule-work-days-sample?file=index.js

API: https://ej2.syncfusion.com/react/documentation/api/schedule/#navigating


We thank you for your support and appreciate your patience in waiting for this release. Please get in touch with us if you would require any further assistance.


Regards,

Ravikumar Venkatesan



PJ Paul Jackson October 5, 2022 04:25 PM UTC

Amazing, works great thanks you



PR Padmini Ramamurthy Syncfusion Team October 6, 2022 06:31 AM UTC

Hi Paul,


Thanks for your update. Please get back to us if you need any other assistance.


Regards,

Padmini


Loader.
Up arrow icon