LgWorkScheduler<TItem>
Module : Lagoon.UI
Namespace : Lagoon.UI.Components
Catégorie : WorkScheduler
Hérite de : LgComponentBase
Component used to display workload in a schedule view
Paramètres
| Paramètre | Type | Description |
|---|---|---|
AgendaHoursFrom | TimeSpan | Used when DisplayMode=DisplayMode.Agenda to specify vertical axis start time |
AgendaHoursFromHighlight | TimeSpan | Used when DisplayMode=DisplayMode.Agenda to specify vertical axis highlight start time |
AgendaHoursRender | RenderFragment<TimeSpan> | Get or set the RenderFragement used to display bar and milestones |
AgendaHoursTo | TimeSpan | Used when DisplayMode=DisplayMode.Agenda to specify vertical axis stop time |
AgendaHoursToHighlight | TimeSpan | Used when DisplayMode=DisplayMode.Agenda to specify vertical axis highlight stop time |
AgendaRowStep | int | Used when DisplayMode=DisplayMode.Agenda to specify vertical axis increments in minutes |
AllowCollapseGroup | bool | Get or set the flag to enable/disable the collapsing of groups (true by default) |
ChildContent | RenderFragment | Should not be used ... |
DatesCustomHighlight | Dictionary<DateTime, string> | Get or set a list of date to highlight with a custom css class (in the timeline and the planning area) |
DefaultGroupsState | GroupState | Get or set the default group state GroupState. (GroupState.Close by default) |
DefaultJalonCssClass | string | Css class used by default for milestone rendering. Default value "wk-milestone-square". |
DisplayMode | DisplayMode | LgWorkScheduler display mode |
DragStepSize | TimeSpan? | Get or set the drag step size when DragStepType is set to DragStepType.Manual |
DragStepType | DragStepType | When drag / drop is enabled you can adjust the moving step (free, hour by hour, ...) Default is DragStepType.Free |
FocusTodayOnLoad | bool | Get or set the flag to focus the current date on load |
From | DateTime? | Get or set the start date displayed. If not set the From value will be retrieved from datasource |
GroupBy | IEnumerable<Func<TItem, object>> | Get or set the list of GroupBy properties to apply on Items data |
GroupDisplayMode | GroupDisplayMode | Get or set the display mode for the timeline |
GroupMargin | int | Get or set the margin identation used to display grouped data (30px by default) |
HourStep | int | Get or set the step between hours to display when using the Timeline.DayHour |
IgnoreFormTracking | bool | |
Items | ICollection<TItem> | Get or set data |
JoinMilestone | bool | Get or set the flag indicating if a line should join all milestones together |
OnCustomDateIndicator | Func<DateTime, string> | Get or set a function to transform a date into a string. Used when a task is resized or dragged? If not set a default conversion will be used; |
OnDragCompleted | EventCallback<OnDragCompletedEventArgs<TItem>> | Event fired when a task or milestone has been moved by Drag and Drop |
OnEmptyClick | EventCallback<OnEmptyClickEventArgs> | Event fired when a click in an empty zone (without Task or Milestone) |
OnItemClick | EventCallback<TItem> | Event fired when a Task or Milestone is clicked |
OnResizeCompleted | EventCallback<OnResizeCompletedEventArgs<TItem>> | Event fired when a task has been resized by Drag and Drop |
OnSort | Func<IEnumerable<TItem>, IEnumerable<TItem>> | Get or set the callback used to sort the data to display |
OrderBy | IEnumerable<Func<TItem, object>> | Field to use for groupping rows |
PaddingRow | int | Get or set the value in pixel of a row padding. 7px by defult |
ProjectHeader | RenderFragment | Get or set the RenderFragment used to display a header for project |
ProjectItems | RenderFragment<TItem> | Get or set the RenderFragement used to display row in project list area |
ProjectItemsGroup | RenderFragment<GroupItem<TItem>> | Get or set the RenderFragement used to display Group in project list area |
ProjectListWidth | int | Get or set the value in pixel of project list width. 200px by default |
RestoreScrollPosition | bool | Preserve scroll position after a full reload. Usefull when you use a LoaderView to show/hide the component during data loading |
RowField | Func<TItem, object> | Field to use for groupping rows |
RowHeight | int | Get or set the value in pixel of a row height. 50px by default |
SchedulerItems | RenderFragment<TItem> | Get or set the RenderFragement used to display bar and milestones |
SchedulerItemsGroup | RenderFragment<GroupItem<TItem>> | Get or set the RenderFragement used to display bar and milestones |
ShowDragIndicator | bool | Get or set the flag to activate or not the resize or drag indicator |
ShowMouseIndicator | bool | Get or set a flag to show / hide mouse position. |
ShowProjectResizing | bool | Get or set a value indicating if the project list should be resizable by dragging an element |
ShowWeekend | bool | Get or set a value indicating if weekend should be displayed or not |
StateId | string | Get or set an unique identifier for the component |
Timeline | TimelineMode | Get or set the timeline mode |
TimelineDisplayMode | TimelineDisplayMode | Get or set the display mode for the timeline |
TimelineFirstLevel | RenderFragment<DateTime> | Get or set the RenderFragment used to display the first level of the timeline |
TimelineHeight | int | Get or set the timeline height in px. 50px by default |
TimelineSecondLevel | RenderFragment<DateTime> | Get or set the RenderFragment used to display the second level of the timeline |
To | DateTime? | Get or set the end date displayed If not set the To value will be retrieved from datasource |
VirtualScrolling | bool | Get or set a value indicating if virtual scrolling functionnality is enable or not. Should be used when you have a lot of data to display |
ZoomLevel | double | Get or set the amount of pixels representing one hour |
Paramètres en cascade
| Paramètre | Type | Description |
|---|---|---|
FormTracker | LgFormTracker | Potential form tracker defined by an ancestor |