HorizontalRendering
Handles event rendering in Schedulers horizontal mode. Reacts to project/store changes to keep the UI up to date.
Configs
1
Configs
1Amount of pixels to extend the current visible range at both ends with when deciding which events to render. Only applies when using labels or for milestones
Functions
4
Functions
4Gets displaying item end side
| Parameter | Type | Description |
|---|---|---|
eventRecord | EventModel |
'start' / 'end' / 'top' / 'bottom'
Gets displaying item start side
| Parameter | Type | Description |
|---|---|---|
eventRecord | EventModel |
'start' / 'end' / 'top' / 'bottom'
Gets the Region, relative to the timeline view element, representing the passed row and optionally just for a certain date interval.
| Parameter | Type | Description |
|---|---|---|
rowRecord | Model | The row record |
startDate | Date | A start date constraining the region |
endDate | Date | An end date constraining the region |
The Rectangle which encapsulates the row
Gets the region, relative to the page, represented by the schedule and optionally only for a single resource. This method will call getDateConstraints to allow for additional resource/event based constraints. By overriding that method you can constrain events differently for different resources.
| Parameter | Type | Description |
|---|---|---|
resourceRecord | ResourceModel | (optional) The row record |
eventRecord | EventModel | (optional) The event record |
The region of the schedule