NavCal is part of Calendar Pack2, which comprises DayCal2, MonthCal2, ResourceCal2 and NavCal. It allows a small month calendar to be placed on the screen for the purpose of choosing a day and navigating to it. The calendar allows you to run an Action which will allow it to set a field, or run a script (among other things). The NavCal doesn't need records to function.

| Parameter Name | Description | |
|---|---|---|
| 1 | displayMonth | The first month to show on the calendar. Can be a month number or the name of a field (on either the home or the related table) containing the month number, or a calculation producing a month number. If a field name is used, it is NOT enclosed in quotes. |
| 2 | displayYear | The first year to show. Can be a number or the name of a field (on either the home or the related table) containing the year number, or a calculation producing a year number. If a field name is used, it is NOT enclosed in quotes. |
| 3 | actionOnDaySelect (opt) |
The name of the script or a command to run on selection of a day. No script parameter should be used in this case: a script parameter, set to the date selected in format yyyy-mm-dd, is automatically generated. If a different date format is needed, use a script parameter of DateMask=. e.g. "Script=DaySelected|DateMask=d-m-Y". See note on Action Parameters below. |
NavCal ( 12 ; 2011 ; "Script=GoTo Date" )

Each of the functions in the Calendar Pack have optional Action parameters, allowing you to run a script or set a field when a field is selected. See Action Parameters for details.
It's possible to customize the look, layout and behaviour of many aspects of the Calendars by means of built-in "overrides", which are JavaScript and CSS functions. This is powerful but advanced stuff, and will make most sense if you're familiar with those technologies somewhat to begin with. If you don't want to tackle this yourself, but want it done, contact us - we're happy to be contracted to do this work.
To find out what functional overrides are available, you need to use Override Inspector. To make style and layout changes, use CSS Overrides. The best way to determine what CSS overrides are available is to open the Reactor debugger and click the CSS tab. See CSS Overrides for further info.
A useful override you could add is StartDay='Monday', if you do not want the default Sunday start day for the week.
You can achieve a similar effect in the MonthCal2 by using these overrides:
Comments