This is a migrated thread and some comments may be shown as answers.

In-place Editor touchscreen not working

1 Answer 72 Views
Scheduler and Reminder
This is a migrated thread and some comments may be shown as answers.
bledar
Top achievements
Rank 1
bledar asked on 27 Apr 2015, 09:45 AM

Hi,

I am trying to use the in-place Editor (DayView) in a Tablet(Lenove ThinkPad with Windows 8.1) , when I am trying to select many rows or cells( one rows or cell means one hour) for Example from 5 am to 11 am with finger touchscreen its select only one row that means only one hour, how can I select more than

a row(Hour) using touchscreen  ANY SOLUTION???

regards,

Bledar

1 Answer, 1 is accepted

Sort by
0
Dimitar
Telerik team
answered on 29 Apr 2015, 04:21 PM
Hello Bledar,

Thank you for writing.

This is not supported out of the box but can be implemented (the pan gesture is used for scrolling). For example you can use the PressAndTapGesture event to select several cells:
void sch_PressAndTapGesture(object sender, Telerik.WinControls.PressAndTapGestureEventArgs e)
{
    scheduler.SelectionBehavior.ResetSelection();
    var shedulerCell = scheduler.SchedulerElement.ElementTree.GetElementAtPoint(e.Location) as SchedulerCellElement;
    var endCell = scheduler.SchedulerElement.ElementTree.GetElementAtPoint(new Point(e.Location.X + e.Delta.X, e.Location.Y + e.Delta.Y)) as SchedulerCellElement; ;
    if (shedulerCell != null && endCell.Date!= null)
    {
         
        scheduler.SelectionBehavior.SelectCell(shedulerCell, false);
        scheduler.SelectionBehavior.SelectCell(endCell, true);
        
    }
}

More information is available in the following article: Touch Support.

I hope this helps.

Regards,
Dimitar
Telerik
 

See What's Next in App Development. Register for TelerikNEXT.

 
Tags
Scheduler and Reminder
Asked by
bledar
Top achievements
Rank 1
Answers by
Dimitar
Telerik team
Share this question
or