# Equipment schedule - How to focus on current date

**URL:** <https://forum.inductiveautomation.com/t/equipment-schedule-how-to-focus-on-current-date/99251>\
**Category:** Ignition\
**Tags:** perspective, ignition81\
**Created:** [November 29, 2024, 7:37am UTC](https://forum.inductiveautomation.com/t/equipment-schedule-how-to-focus-on-current-date/99251 "2024-11-29T07:37:19Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![E.E.T](https://avatars.discourse-cdn.com/v4/letter/e/b19c9b/32.png) [@E.E.T](https://forum.inductiveautomation.com/u/E.E.T)\
**Post date:** [November 29, 2024, 7:37am UTC](https://forum.inductiveautomation.com/t/equipment-schedule-how-to-focus-on-current-date/99251/1 "2024-11-29T07:37:19Z")

</div>

I'm trying to make the equipment schedule component show all planned events (startDate=first event start date and endDate=last event end date) but initially focus on the current day when the page is opened.  
Is there a way to do so? If I set the startDate to whatever in the past when I load the page the focus is on the start date, not on the currentTimeIndicator.  
Thanks

---

<div class="post-metadata">

**Author:** ![diamond](https://avatars.discourse-cdn.com/v4/letter/d/e79b87/32.png) [@diamond](https://forum.inductiveautomation.com/u/diamond)\
**Post date:** [November 29, 2024, 8:46am UTC](https://forum.inductiveautomation.com/t/equipment-schedule-how-to-focus-on-current-date/99251/2 "2024-11-29T08:46:36Z")

</div>

As far as I know, you can't control the horizontal scroll position as a built-in feature of Ignition. What you can do is inject javascript through markdown.

---

<div class="post-metadata">

**Author:** ![E.E.T](https://avatars.discourse-cdn.com/v4/letter/e/b19c9b/32.png) [@E.E.T](https://forum.inductiveautomation.com/u/E.E.T)\
**Post date:** [December 13, 2024, 2:51pm UTC](https://forum.inductiveautomation.com/t/equipment-schedule-how-to-focus-on-current-date/99251/3 "2024-12-13T14:51:33Z")

</div>

So no way to do so other than this right? Kind of strange the feature hasn't been implemented expecially considering that starting always from the first date ever in the long run is going to be fairly inconvenient

---

<div class="post-metadata">

**Author:** ![dkhayes117](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/dkhayes117/32/68344_2.png) [@dkhayes117](https://forum.inductiveautomation.com/u/dkhayes117)\
**Post date:** [December 13, 2024, 3:05pm UTC](https://forum.inductiveautomation.com/t/equipment-schedule-how-to-focus-on-current-date/99251/4 "2024-12-13T15:05:04Z")

</div>

There are a lot of missing features on this component. Some people have made their own versions from apex charts and such because of that.

---

<div class="post-metadata">

**Author:** ![E.E.T](https://avatars.discourse-cdn.com/v4/letter/e/b19c9b/32.png) [@E.E.T](https://forum.inductiveautomation.com/u/E.E.T)\
**Post date:** [December 13, 2024, 3:13pm UTC](https://forum.inductiveautomation.com/t/equipment-schedule-how-to-focus-on-current-date/99251/5 "2024-12-13T15:13:50Z")

</div>

Okay, I'm kind of a newcomer to Ignition, any tips on where to look/what to do? I didn't know we could integrate Javascript code into Ignition

---

<div class="post-metadata">

**Author:** ![dkhayes117](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/dkhayes117/32/68344_2.png) [@dkhayes117](https://forum.inductiveautomation.com/u/dkhayes117)\
**Post date:** [December 13, 2024, 3:18pm UTC](https://forum.inductiveautomation.com/t/equipment-schedule-how-to-focus-on-current-date/99251/6 "2024-12-13T15:18:54Z")

</div>

> [@E.E.T](#):
>
> I didn't know we could integrate Javascript code into Ignition

It's unsupported and could likely break in the future. This is not the best choice for sure.

The [ideas](https://ideas.inductiveautomation.com/) webpage has feature requests and status updates. Check there and vote for ideas you like.

The only supported work around that I can think of is to change the date ranges to force it to encapsulate the item in question, but then you would need a way to reset it too. This could be really cumbersome.
