Servis-Rhino 4211B Betriebsanweisung Seite 197

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 298
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 196
date/dateInterval option. See also endDate.
startTimeAttr – The name of a property (attribute) of an item in the store that will
contain the start date of an interval in the calendar. The default is "startTime".
endTimeAttr – The name of a property (attribute) of an item in the store that will contain
the end date of an interval in the calendar. The default is "endTime".
summaryAttr – The name of a property (attribute) of an item in the store that will contain
the summary text of an entry. The default is "summary".
decodeDate – A function that will be called that will be passed the value of a date and
return a JavaScript "Date" object. This will be useful if the start and end time attributes are
not Date objects already.
encodeDate – A function that will be called that will be passed a date and return a
JavaScript object or String representing how the date is kept in the store. This will be
useful if the start and end time attributes are not Date objects already.
columnViewProps – An object which describes how the column of day data is shown:
minHours – The start time of a day entry. For example, setting to 8 means the day
calendar starts at 8:00am.
maxHours – The end time of a day entry. This will show up to (but not including) the
end time. For example, setting to 18 means that the calendar ends showing the hour
from 5:00pm to 6:00pm.
hourSize – The height (in pixels) of a horizontal hour slot.
timeSlotDuration – The number of minutes that an hour slot is broken into.
Values that seem to work are 15 (4 slots), 30 (2 slots) and 60 (1 slot).
selectionMode – What kind of item selection is possible.
none – No item in the grid may be selected.
single – Only a single item in the grid may be selected.
multiple – Multiple items in the grid may be selected.
selectedItems – A list of the selected items.
selectedItem – The last item selected.
createOnGridClick – If set to true, we can dynamically create new calendar entries.
By default this has a value of false and new dynamic grid entries are disabled. See also
createItemFunc
createItemFunc – This is a function that will be invoked when the grid is clicked to
create a new item. This will only happen when the createOnGridClick property is set
to true. The function is responsible for building and returning a new item for insertion into
the store. The function is passed the following parameters:
view – The view in the calendar that was clicked.
date – The date that was selected for a new entry.
mouse event – The mouse event that resulted in the function being called.
Page 197
Seitenansicht 196
1 2 ... 192 193 194 195 196 197 198 199 200 201 202 ... 297 298

Kommentare zu diesen Handbüchern

Keine Kommentare