jQWidgets Forums

jQuery UI Widgets Forums Scheduler Unexpected row height size when allDayRowHeight is set in view options

Tagged: 

This topic contains 2 replies, has 2 voices, and was last updated by  Kaddath 7 years, 3 months ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author

  • Kaddath
    Participant

    Hello,

    The second issue is no longer a problem for us, as i just figured out how to properly use the “.jqx-scheduler-all-day-cell” CSS class (the code i had to debug did set the cell height with the “!important” keyword, and the row was not adapting according to events, fixed by removing the important). I’m still posting the issue, because it might still help.

    It happened when i tried to set the “allDayRowHeight” property in the view declaration. As long as there are no “all day” events or they fit in the cell (with a free margin), the cell takes the good declared height. But while adding events, to row begins to get bigger and bigger, far bigger than needed. The extra space seems to be growing with the number of events.

    The jseditor with the issue (you can compare different height examples by switching to the 2 following weeks): https://jseditor.io/?key=dd7082951c6611e8a2dc00224d6bfcd5

    Thanks again,
    Kaddath


    Stanislav
    Participant

    Hello Kaddath,

    Thanks for the update!

    Best Regards,
    Stanislav

    jQWidgets Team
    http://www.jqwidgets.com/


    Kaddath
    Participant

    Actually after testing on our project, we still have an issue with the “all day” row. The reason why the style was set to !important is that there is a conflict between the height declared in CSS with “.jqx-scheduler-all-day-cell” and the general “rowsHeight” property for the whole scheduler. Using “rowsHeight” seems to lead to inline styles in the cell elements themselves, that have priority over the height declared for “.jqx-scheduler-all-day-cell”, so that the latter never takes effect.

    Is there a way to declare “rowsHeight” without conflicting with “.jqx-scheduler-all-day-cell”?

    Thanks again,
    Kaddath

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.