Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

TcxCustomSchedulerStorage.InternalUpdate Property

Determines whether the scheduler and its underlying data store are currently being synchronized.

#Declaration

Delphi
property InternalUpdate: Boolean read;

#Property Value

Type
Boolean

#Remarks

The InternalUpdate property returns a value of True if the scheduler is currently synchronizing with its data store (the EndUpdate method is being executed).

If the scheduler is working in smart refresh mode (see the TcxSchedulerDBStorage.SmartRefresh property) and the underlying data store is shared between the scheduler and another control, the scheduler does not synchronize the time View with the store for the data modification made by the concurrent control.

Use the InternalUpdate property to determine if it is necessary to reload the data store when you handle the dataset’s data modification events.

Delphi
//...
procedure TForm1.ClientDataSet1AfterDelete(DataSet: TDataSet);
begin
  if not SchedulerDBStorage.InternalUpdate then
    <SchedulerDBStorage>.FullRefresh;
end;
See Also