This example describes how to synchronize GridControl selection and filters with SchedulerControl if the grid represents the source scheduler data.
Selection synchronization can be achieved by binding the SchedulerControl.SelectedAppointmentsBindable and GridControl.SelectedItems properties to the view model properties and conversions between them. Also, it's possible to bind the CurrentItem or SelectedItem property of the GridControl to update the focused grid row according to the appointment selection.
To apply grid control filters to the scheduler data, pass the GridControl.FilterChanged event to the view model command and set the AppointmentStorage.Filter property on the command execution correspondingly. The example also illustrates how to show an appointment edit form on the grid row's double click.
↧
How to synchronize GridControl selection and filtes with SchedulerControl
↧