This demo shows how you can use a SignalR service to synchronize appointments across different devices. To emulate such a setup, each Scheduler on this page reads data from its own separate data store. Changes made in one control are repeated in the other and persist until the browser session has expired.
Follow the steps below to implement this functionality. Note again that this demo repeats all steps twice for the two Schedulers. Your project will have a single control and a single store.
Configure a CustomStore. In this demo, we use the createStore method (part of the DevExtreme.AspNet.data extension).
Create the Scheduler and use its dataSource property to bind it to the store instance.
When a push notification is received, call the store's push(changes) method to update the store's data (see the
connection.on event handlers).
For server-side configuration, refer to the ASP.NET MVC version of this demo.
For more information about integration with push services, refer to the following help topic: Integration with Push Services.