Aller au contenu principal

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ètreTypeDescription
AgendaHoursFromTimeSpanUsed when DisplayMode=DisplayMode.Agenda to specify vertical axis start time
AgendaHoursFromHighlightTimeSpanUsed when DisplayMode=DisplayMode.Agenda to specify vertical axis highlight start time
AgendaHoursRenderRenderFragment<TimeSpan>Get or set the RenderFragement used to display bar and milestones
AgendaHoursToTimeSpanUsed when DisplayMode=DisplayMode.Agenda to specify vertical axis stop time
AgendaHoursToHighlightTimeSpanUsed when DisplayMode=DisplayMode.Agenda to specify vertical axis highlight stop time
AgendaRowStepintUsed when DisplayMode=DisplayMode.Agenda to specify vertical axis increments in minutes
AllowCollapseGroupboolGet or set the flag to enable/disable the collapsing of groups (true by default)
ChildContentRenderFragmentShould not be used ...
DatesCustomHighlightDictionary<DateTime, string>Get or set a list of date to highlight with a custom css class (in the timeline and the planning area)
DefaultGroupsStateGroupStateGet or set the default group state GroupState. (GroupState.Close by default)
DefaultJalonCssClassstringCss class used by default for milestone rendering. Default value "wk-milestone-square".
DisplayModeDisplayModeLgWorkScheduler display mode
DragStepSizeTimeSpan?Get or set the drag step size when DragStepType is set to DragStepType.Manual
DragStepTypeDragStepTypeWhen drag / drop is enabled you can adjust the moving step (free, hour by hour, ...) Default is DragStepType.Free
FocusTodayOnLoadboolGet or set the flag to focus the current date on load
FromDateTime?Get or set the start date displayed. If not set the From value will be retrieved from datasource
GroupByIEnumerable<Func<TItem, object>>Get or set the list of GroupBy properties to apply on Items data
GroupDisplayModeGroupDisplayModeGet or set the display mode for the timeline
GroupMarginintGet or set the margin identation used to display grouped data (30px by default)
HourStepintGet or set the step between hours to display when using the Timeline.DayHour
IgnoreFormTrackingbool
ItemsICollection<TItem>Get or set data
JoinMilestoneboolGet or set the flag indicating if a line should join all milestones together
OnCustomDateIndicatorFunc<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;
OnDragCompletedEventCallback<OnDragCompletedEventArgs<TItem>>Event fired when a task or milestone has been moved by Drag and Drop
OnEmptyClickEventCallback<OnEmptyClickEventArgs>Event fired when a click in an empty zone (without Task or Milestone)
OnItemClickEventCallback<TItem>Event fired when a Task or Milestone is clicked
OnResizeCompletedEventCallback<OnResizeCompletedEventArgs<TItem>>Event fired when a task has been resized by Drag and Drop
OnSortFunc<IEnumerable<TItem>, IEnumerable<TItem>>Get or set the callback used to sort the data to display
OrderByIEnumerable<Func<TItem, object>>Field to use for groupping rows
PaddingRowintGet or set the value in pixel of a row padding. 7px by defult
ProjectHeaderRenderFragmentGet or set the RenderFragment used to display a header for project
ProjectItemsRenderFragment<TItem>Get or set the RenderFragement used to display row in project list area
ProjectItemsGroupRenderFragment<GroupItem<TItem>>Get or set the RenderFragement used to display Group in project list area
ProjectListWidthintGet or set the value in pixel of project list width. 200px by default
RestoreScrollPositionboolPreserve scroll position after a full reload. Usefull when you use a LoaderView to show/hide the component during data loading
RowFieldFunc<TItem, object>Field to use for groupping rows
RowHeightintGet or set the value in pixel of a row height. 50px by default
SchedulerItemsRenderFragment<TItem>Get or set the RenderFragement used to display bar and milestones
SchedulerItemsGroupRenderFragment<GroupItem<TItem>>Get or set the RenderFragement used to display bar and milestones
ShowDragIndicatorboolGet or set the flag to activate or not the resize or drag indicator
ShowMouseIndicatorboolGet or set a flag to show / hide mouse position.
ShowProjectResizingboolGet or set a value indicating if the project list should be resizable by dragging an element
ShowWeekendboolGet or set a value indicating if weekend should be displayed or not
StateIdstringGet or set an unique identifier for the component
TimelineTimelineModeGet or set the timeline mode
TimelineDisplayModeTimelineDisplayModeGet or set the display mode for the timeline
TimelineFirstLevelRenderFragment<DateTime>Get or set the RenderFragment used to display the first level of the timeline
TimelineHeightintGet or set the timeline height in px. 50px by default
TimelineSecondLevelRenderFragment<DateTime>Get or set the RenderFragment used to display the second level of the timeline
ToDateTime?Get or set the end date displayed If not set the To value will be retrieved from datasource
VirtualScrollingboolGet 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
ZoomLeveldoubleGet or set the amount of pixels representing one hour

Paramètres en cascade​

ParamètreTypeDescription
FormTrackerLgFormTrackerPotential form tracker defined by an ancestor