Disabling the movement between days on mobile devices

We created schedules successfully with no caching and the like. We feed the scheduler data based on own navigational links that exist on a page. We would therefore like to manage movement between days on handphones too (android). However in our tests we have not been able to disable movement between days when users slide the schedulers (on the day view):

scheduler.config.xml_date="%Y-%m-%d %H:%i";
scheduler.config.readonly = true;
scheduler.config.hour_size_px = 60
scheduler.config.separate_short_events = true;
scheduler.config.scroll_hour = 8.5
scheduler.config.limit_time_select = true;
scheduler.config.prevent_cache = true;
scheduler.config.limit_start = new Date(2014,11,25);
scheduler.config.limit_end = new Date(2014,11,25);
scheduler.config.limit_view = true;
scheduler.init(‘scheduler_here’,new Date(2014,11,25),“day”);
scheduler.parse(events, “json”);

If we load the code on a scheduler ans use Android, the users are able to move between dates by sliding the scheduler left and right. What are we missing?

Hi,
unfortunately there is no public setting to remove sliding dates on touch devices without disabling all touch support.
As a workaround you can overwrite a inner methods that are used by a touch module and default navigation buttons
Put this code somewhere after dhtmlxscheduler.js tag on the page

scheduler._click.dhx_cal_next_button = function(){}; scheduler._click.dhx_cal_prev_button = function(){};

If touch mode detected, swipe gestures will trigger the same code as click on “next” and “prev” buttons do trigger.

You can try to catch onBeforeViewChange action, and block it to prevent any view change operations.