Skip to content

Give ability to define reserved space in calendar call #53

@StNekroman

Description

@StNekroman

In file

function getColumnCount(

there is calculation of event's width const width = 100 / columnCount

So event(s) will consume whole available space.
While I'm adding events via click on empty space.
So no space (used by another event) - nowhere to click.

Workaround exists:

  1. Define event initially in another slot, and drag'n'drop where required.

But I would really like to have ability to define "maxUsableWidth" (default 100).
So instead of const width = 100 / columnCount I would like to see there const width = maxUsableWidth/ columnCount
And add support to angular-calendar to pass it through

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions