Problem with Year View

Hello All,

I have created year view in my scheduler but unfortunately the dates are showing in correct order. Could you please suggest something. I tried to debug but couldn’t get any clue.

Hello @anand_dwivedi ,

I tried to reproduce the issue with the Year view, but it works correctly, here is a demo:
http://snippet.dhtmlx.com/5/996bd8ae5

The issue in your case can be connected with custom code, but it’s hard to suggest what exactly goes wrong. Could you please provide more details on how to reproduce it, or reproduce the issue in the demo above(open the demo => reproduce the issue on HTML/CODE tabs => click the Share button => post here a new link)?

@Siarhei : thank you so much. i have corrected the issue and this is worked. May be you could give your valueable feedback.
I have created year/week/month view and week/month view is working fine. I have added the Year view. Whenever i load/refresh the view i see all my data and everything seems fine. But if i use “dhx_cal_next_button” to see planned things from next year, after pressing this button i am not able to see anything more. all the loaded data is already gone. This is a bit strange because rest everything works with my custom code as well except Year View.
when first load is done :

after using forward and backward button :

Did someone also face such issue?

Hello @anand_dwivedi ,

It’s not a known issue, and this issue doesn’t reproduce in the provided demo:
http://snippet.dhtmlx.com/5/f7caaf3dd

I highly like it’s connected with your custom code, but it’s hard to suggest what exactly goes wrong.

The first thing that you can try is to reproduce the issue in the snippet above (open the demo => reproduce the issue on HTML/CODE tabs => click the Share button => post here a new link).

If this issue is connected with the backend, you can try our troubleshooting guide:
https://docs.dhtmlx.com/scheduler/troubleshooting.html

If it also won’t help, could you please provide step-by-step instructions on how to reproduce this issue?