Skip to content

Column Header disappears when showing only weekdays with weekendButton #11322

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
taauntik opened this issue May 9, 2025 · 0 comments
Open
Labels
bug Something isn't working forum Issues from forum large-account Reported by large customer OEM OEM customer

Comments

@taauntik
Copy link

taauntik commented May 9, 2025

Forum post

Reproducible here https://codepen.io/dv-auntik/pen/jEEporz?editors=0010

    modes : {
        week: {
            maxAllDayHeight: '100%',
            allDayEvents: { autoHeight: true },
            columnHeaderRenderer: (dayCell) => {
                let count = dayCell.events.length;
                dayCell.view.calendar.eventStore.records.forEach(record => {
                    if (DateHelper.betweenLesser(dayCell.date, record.startDate, record.endDate) && record.allDay) {
                        count++;
                    }
                });
                return `${count}`;
            },
        }
    },
    includeWeekendsButton : true,

Image

@taauntik taauntik added bug Something isn't working forum Issues from forum large-account Reported by large customer OEM OEM customer labels May 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working forum Issues from forum large-account Reported by large customer OEM OEM customer
Projects
None yet
Development

No branches or pull requests

1 participant