Skip to content
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

autoRowHeight and maxEventsPerCell do not work together #7599

Closed
ExtAnimal opened this issue Oct 3, 2023 · 0 comments
Closed

autoRowHeight and maxEventsPerCell do not work together #7599

ExtAnimal opened this issue Oct 3, 2023 · 0 comments
Assignees
Labels
bug Something isn't working forum Issues from forum large-account Reported by large customer OEM OEM customer premium resolved Fixed but not yet released (available in the nightly builds)
Milestone

Comments

@ExtAnimal
Copy link

Forum post

Good morning bryntum team!

I'm working with some clients who have a lot of events per day (sometimes more than 100 per day during the whole month). I was having some issues with the load speed of all those events + custom eventRenderer but I found a solution to this removing the property autoRowHeight: true

which was set in true. At the end that's the right call as rendering more than 100 items in each cell is not pretty at all. But sometimes depending on the screen size, we face situation when no events are rendered

Screen Shot 2023-10-02 at 11.20.51 AM.png

We tried to use maxEventsPerCell but it just renders the number of events we define, without the +n more button

Is there a way to render a fixed amount of events before shrinkwrap the rest of them?

This is the config we're trying to make

      month: {
        eventHeight: '45px',
        autoRowHeight: true,
        maxEventsPerCell: 10,
        minRowHeight: `16%`
       }

Thanks!
Screen Shot 2023-10-02 at 11.20.51 AM.png

@ExtAnimal ExtAnimal added bug Something isn't working in progress premium forum Issues from forum large-account Reported by large customer OEM OEM customer labels Oct 3, 2023
@ExtAnimal ExtAnimal added this to the 5.5.4 milestone Oct 3, 2023
@ExtAnimal ExtAnimal self-assigned this Oct 3, 2023
@ExtAnimal ExtAnimal added ready for review Issue is fixed, the pull request is being reviewed resolved Fixed but not yet released (available in the nightly builds) and removed in progress ready for review Issue is fixed, the pull request is being reviewed labels Oct 3, 2023
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 premium resolved Fixed but not yet released (available in the nightly builds)
Projects
None yet
Development

No branches or pull requests

1 participant