Scheduler - Options for showCurrentTimeline Feature

Request new features or modifications
Post Reply
User avatar
Robert Hirst
Premium Member
Premium Member
Posts: 17
Joined: Tue Sep 11, 2018 4:32 pm

Scheduler - Options for showCurrentTimeline Feature

Post by Robert Hirst » Mon Apr 15, 2019 3:02 pm

Here's just some 'nice to have' suggestions I've thought of for the "current time" feature in Scheduler.

It would be nice if you could pass in a config to the showCurrentTimeline feature to allow things like:
  • Displaying the vertical current time indicator over the top of events
  • Using a solid line instead of dashes (or making it invisible).
  • Applying a shaded overlay / underlay for everything before (or after) the current time.
  • Not displaying the timeAxis header part where the current is presently displayed.
Thanks for your time in considering this :)

User avatar
mats
Core Developer
Core Developer
Posts: 14554
Joined: Sat Dec 19, 2009 11:41 pm
Location: Sweden
Contact:

Re: Scheduler - Options for showCurrentTimeline Feature

Post by mats » Mon Apr 15, 2019 6:50 pm

Good feedback! Comments:

1. "Displaying the vertical current time indicator over the top of events" Easily done with CSS, use 'b-sch-current-time' class

2. See #1

3. Application issue, but easily done by creating your own subclass of the timeRanges feature. We have something similar in the old version "shadePast" https://www.bryntum.com/examples/schedu ... /shadepast We might make such a feature in the future.

4. You can hide it easily with '.b-grid-headers .b-sch-current-time { display : none; }
Tired of debugging javascript errors in web applications? Try our new error logging service RootCause, or read more on the Sencha blog

@bryntum
Facebook
API documentation

Post Reply