This is a migrated thread and some comments may be shown as answers.

Removing spacing next to event

3 Answers 157 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
James
Top achievements
Rank 1
James asked on 11 Feb 2019, 06:16 PM

One of our apps has a requirement to only allow one event per time slot.  Currently there is extra white space next to each even to allow users to click on to add extra events.  How can I remove this white space?  I have tried setting the event width to 100% but this breaks the weekly view.

 

Handling the click event to deny the user action is not an issue, but the UI display is confusing to users and doesn't make sense for our requirements.  Any work around for this?

 

 

3 Answers, 1 is accepted

Sort by
0
Svet
Telerik team
answered on 13 Feb 2019, 01:16 PM
Hi James,

I saw, that we have already answered this question in a private support ticket. I am pasting the answer here as well. Do not hesitate to contact us in case further assistance is required for this case.

Unfortunately, at the moment, there is no such built in functionality, that would allow to achieve the desired behavior.

This is why, I changed this ticket to be a feature request in our Feedback portal:
https://feedback.telerik.com/kendo-angular-ui/1386987-only-allow-1-event-per-slot

This will help us to keep track of the demand for the specific feature and provide it eventually as a built in option in one of our future releases.

Indeed, the suggested workaround approaches from your side are valid and can be applied. What else could be done is to check the view of the Scheduler (when the app loads initially and on each subsequent (navigate) event) and apply the custom style width: 100% to the events only when the Scheduler is in day view.

We could also use the following custom CSS in order to override the default Kendo styles, but have in mind, that this approach is not fully tested and may required some further modifications:
https://stackblitz.com/edit/angular-zcftvq?file=app%2Fevents-utc.ts

I hope it points you in the right direction of achieving the desired appearance.

Regards,
Svetlin
Progress Telerik
Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
0
James
Top achievements
Rank 1
answered on 13 Feb 2019, 05:32 PM

Hi Svetlin,

    Yes I thought I had submitted this question already but it disappeared from my view for some reason that's why i reposted it.  I still don't know where my original question is at since it's not under supported tickets.

Either way, thanks for your response and I'm glad to see this as a requested feature now.  Hopefully it gets accepted and I will try your CSS suggestions.

Thanks.

0
Svet
Telerik team
answered on 15 Feb 2019, 09:53 AM
Hi James,

The initial ticket disappeared from your view as it is now a public feature request item, that can be tracked at the following link:
https://feedback.telerik.com/kendo-angular-ui/1386987-only-allow-1-event-per-slot

Feel free to add any additional comments below the item if needed.

Regards,
Svetlin
Progress Telerik
Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
Tags
Scheduler
Asked by
James
Top achievements
Rank 1
Answers by
Svet
Telerik team
James
Top achievements
Rank 1
Share this question
or