Page 1 of 1

[ANGULAR] Clicking Next Span is invalid in the week dimension.

Posted: Wed Dec 07, 2022 3:50 am
by shimnx

Click in other dimensions is normal, you can watch the video I uploaded, can this be solved


Re: [ANGULAR] Clicking Next Span is invalid in the week dimension.

Posted: Wed Dec 07, 2022 3:52 am
by shimnx

1


Re: [ANGULAR] Clicking Next Span is invalid in the week dimension.

Posted: Wed Dec 07, 2022 8:05 am
by tasnim

Hi,
I tried to reproduce it here https://bryntum.com/products/gantt/examples/advanced/. But I wasn't able to reproduce it. Could you please explain what changes do I need to make in the code to reproduce it?


Re: [ANGULAR] Clicking Next Span is invalid in the week dimension.

Posted: Wed Dec 07, 2022 9:34 am
by shimnx
 viewPreset: {
            timeResolution: {
                unit: 'day',
                increment: 1
            },
            headers: [
                {
                    unit: 'week',
                    renderer: (startDate, endDate) => `${DateHelper.format(startDate, 'YY') + DateHelper.format(startDate, 'WW')}`
                }
            ],
            displayDateFormat: 'YYYY-MM-DD',
        },

Add the dimension of the week and click on the dimension of the week


Re: [ANGULAR] Clicking Next Span is invalid in the week dimension.

Posted: Wed Dec 07, 2022 1:17 pm
by tasnim

Reproduced! We'll check what's wrong! Here is the ticket https://github.com/bryntum/support/issues/5728

Thank you for your report.

Good Luck :),
Tasnim