Django and Schedular Timeline - retrieve json data from httpresponse

Hi there,

I’m currently trying out the Schedular Timeline within a Django application, at the moment I’m using ; scheduler.parse(JSON.stringify( "data" ),"json"); loading data from an inline dataset.

I’m wondering if there’s another way using a httpresponse with ajax, similar to below:

<script>
    $.ajax({
      url: $("#container").attr("data-url"),
      dataType: 'json',
      success: function (data) {
        schedular.chart("container", data);
      }
    });
  </script>

With best regards,

Hi,

There are only parse and load methods to load data.
In case if you need to add custom request headers or parameters, please read in this article how to do it https://docs.dhtmlx.com/scheduler/server_integration.html#customrequestheadersandparameters
But I’m not sure that this could help you to solve your issue.