Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
1735
KeyBoard short cut key to Select appointments in ultraDayView/UltraWeekView
posted

Hi,

Is there any keyboard short cut key to select an appoinment.

What i want is after any 1 appointment is selected in ultraDayView/ultraWeekView and then if user presses Shift+Up/Shift+Down keys the Appoinment above or below should also get selected.

Currently on pressing Shift+Up/Shoft+Down keys the cells of ultraDayView/ultraWeekView gets selected.

Have attached the snap shot of Actual and Expected output

Thanks,

Chitra

AppoinmentSelection.zip
Parents
No Data
Reply
  • 23930
    Offline posted

    Hi Chitra,

    Thank you for contacting Infragistics Developer Support.

    What you could do in order to implement such feature is to handle the KeyDown and SelectedAppointment events of the DayView. In the SelectedAppointment event you can keep a reference of the last selected by the user Appointment. You also need a reference to the appointment that should be changed. After that in the KeyDown, if the user pressed shift + up/down, you can get the next/previous appointment and select/deselect it depending on what the user has pressed. You will also need to cancel the BeforePerformAction event when the user presses shift + up/down keys, in order to disable the default behavior of the DayView.

    I have attached a sample which demonstrates this suggestion.

    Let me know if you have any additional questions.

    WS_AppointmentSelection.zip
Children