Hello,
I'm not sure if this is possible but I have a custom store I would like to set up in the project in SchedulerPro like the following
project : {
customJobs : {
modelClass : Jobs,
headers : {
'Accept' : 'application/json'
},
autoload : true,
readUrl : `${url['url']}/get_preloaded_job_info`,
filters : [
{
property : 'job_active',
operator : "=",
value : true
}
]
}
}
right now the only way i can add an extra store to the project is by doing the following
const newJobStore = new AjaxStore({
modelClass : Jobs,
headers : {
'Accept' : 'application/json'
},
autoload : true,
readUrl : `${url['url']}/get_preloaded_job_info`,
filters : [
{
property : 'job_active',
operator : "=",
value : true
}
]
});
newJobStore.load();
project : {
customJobStore: newJobStore
}