Skip to main content

SchedulerDataStorage.EnableSmartFetch Property

Gets or sets whether certain internal criteria for raising the SchedulerDataStorage.FetchAppointments event are applied to reduce the number of data requests.

Namespace: DevExpress.XtraScheduler

Assembly: DevExpress.XtraScheduler.v24.1.dll

NuGet Package: DevExpress.Win.Scheduler

Declaration

[DefaultValue(true)]
public bool EnableSmartFetch { get; set; }

Property Value

Type Default Description
Boolean true

True, to use more restrictive internal criteria for determining whether to raise the FetchAppointments event; otherwise, false.

Remarks

More restrictive criteria for raising the SchedulerDataStorage.FetchAppointments event are introduced in v15.2 by default. The SchedulerDataStorage.FetchAppointments event occurs when the visible interval or resource collection is changed, or when the SchedulerControl.RefreshData method is called. However the event is not raised when appointments are being inserted/deleted/modified.

This change may break the previously designed application behavior . If you experience situations where an expected FetchAppointments event does not occur, set the SchedulerDataStorage.EnableSmartFetch property to false to revert to the former mechanism of raising the event.

See Also