Navigation bar
  Print document Start Previous page
 30 of 65 
Next page End  

Gravitybox WebSchedule.NET
1998-2005 Gravitybox Software LLC
Page 28 of 65
Row and Column Header Notifications
Overview
The column and row headers define information about how a schedule is displayed.
Each displays information like date, time, room, or provider. The schedule generates the
strings that are displayed in the header margins but the container is given a chance to
override these strings in the “Before…HeaderDraw” events.
Each header has properties to define behavior and appearance: AutoFit, Size, and
Appearance. When the AutoFit property is true, all columns or rows are stretched to fit
the grid area. Keep in mind that the Size property becomes read-only when AutoFit is
true as the size of the columns or rows is calculated by the schedule. Setting the Size
property while in this state throws an exception. The Appearance object defines the
colors, borders, etc of the column or row area being drawn.
BeforeDateHeaderDraw
This event gives you a chance to override the string to be displayed in each of the date
header cells.
BeforeProviderHeaderDraw
This event gives you a chance to override the string to be displayed in each of the
provider header cells.
BeforeRoomHeaderDraw
This event gives you a chance to override the string to be displayed in each of the room
header cells.
Schedule Notifications
Overview
There are numerous miscellaneous events that are raised in response to some action.
These range from clicking on a schedule area to changing the appointment selection.
These events are quite useful to create custom code that responds to various user
actions.
AfterSelectedItemChange
This event is raised when the SelectedItems collection changes. If the schedule is
single-select then the collection can have exactly zero or one item in it. Each time the
user clicks on an appointment that is not highlighted the currently selected appointment
is deselected and the clicked appointment is added to the SelectItems collection. If the
schedule property MultiSelect is set to true, the user can hold the <CTRL> key and click
multiple appointments to select more than one appointment. All highlighted
appointments are in this collection and may you may add other programmatically. Any
addition or subtraction cases this event to be raised.
BackgroundClick
http://www.purepage.com