Hi KC,
I am wondering what the best option is to change the navigation within the Gantt Chart, as I don't want it to always move 20 weeks (if I am in the 20 weeks display) forward or backward when I click the arrows next to Today, I want it to move just one week.
Actually it would even better to have a option to select how many weeks I want to move forward or backwards.
Any tips would be greatly appreciated.
Thanks
Regine
Navigating in Gantt Chart
3 posts
• Page 1 of 1
Posts: 129
Joined: Tue Jul 15, 2008 12:41 am Location: Perth Western Australia |
|
Hi Regine,
That's a great question. Unfortunately, we don't have a way of specifying the time range the navigation arrows move your calendar forward and backward, but I've created a feature-request for it. You can, however, create your own FileMaker objects in the Calendar layout around the WebViewer object that use the "Refresh Calendar" script to navigate to a custom date. Here's what you could add to a single step on a button to navigate the calendar forward 7 days: Perform Script ["Refresh Calendar"; Parameter: #("sc_FocusDate" ; GetAsDate( GetAsTimestamp( $$sc_DateRangeStartAutoGlobNum ) ) + 7 )] You can modify the "+ 7" to add or subtract a number of days you'd like to move the calendar forward or backward. Hope that helps! Thanks, KC |
|
Posts: 129
Joined: Tue Jul 15, 2008 12:41 am Location: Perth Western Australia |
Hi KC,
Thanks for the suggestion. That works great. I just created two scripts with one forward by 7 days and one backward by 7 days and keep them available in the Scripts menu, so I don't have to add another button or anything. Thanks so much. Kind regards Regine |
3 posts
• Page 1 of 1
Return to DayBack Calendar for FileMaker
Who is online
Users browsing this forum: No registered users and 2 guests