For any view, you can define custom event handlers which will catch native touch events.
dhx.Touch.longTouchDelay = 1000; //time in milliseconds
$$('component_id').attachEvent("onSwipeY", function(start_event, end_event){ //this == your component });
The handler function for any mentioned event takes 2 parameters:
The event object contains the next properties:
$$('component_id').attachEvent("onSwipeX", function(start_event, end_event){ var direction = start_event.x > end_event.x; do_some(); });