How to load xml only when view change

Hi

       I have 1 millon records in my database, so its hanging calendar UI as well as browser while loading data from database.So i want to load xml only when view change,not loading time.

Check dynamic loading functionality
docs.dhtmlx.com/scheduler/loadin … micloading

Hi

      I tried to use dynamic loading with month view ,but see consol

its sending request one month but tring to load from year 2001.

this is my code

scheduler.setLoadMode("month"); scheduler.load("path/connector.php"); var v = new dataProcessor("path/connector.php"); v.init(scheduler);

I attach below screen shot


Hi

    I guess its working only in case render_sql instead render_complex_sql

in my server side i use below code

if ($con->is_select_mode()){//code for loading data
//dynamic loading not working here
$con->render_complex_sql("3 tables fetching code");

// dynamic loading  working  here      $con->render_table("patient_events_setting","id","start_date,end_date,text,rec_type,event_pid,event_length");


}

Yep, when you are using render_complex_sql - this SQL is used as is, without any modifications, so connector can’t apply any filtering logic.