Hello,
I have a problem with the grouping of scheduler. Now, I'm grouping the data with local ressource.
I would like to group the data with remote ressource but it doesn't work, although the format of the remote ressource array is the same as the local ressource.
Here an example of the local ressource which works :
<kendo-scheduler
[...]
:group="resources:['Canaux']}" >
<kendo-scheduler-resource
:field="'canalId'"
:name="'Canaux'"
:data-source="arrayCanaux" ></kendo-scheduler-resource>
</kendo-scheduler>
let arrayCanaux = [];
for (let i = 0; i < 15; i++) {
arrayCanaux[i] = { text: "A-" + i + "", value: i };
}
And here the code with remote resource :
axios.get('....').then(response => {
let res = responses.data.canaux
this.arrayCanaux = res.map(canal =>{
return ({ text: canal.nom,
value: canal.canalId })
})
console.log(this.arrayCanaux);
})
The combobox that I use works perfectly when I fill it with the arrayCanaux with remote ressource but when I want to use it for the grouping of scheduler it doesn't work.
I found this documentation I think it is a solution to my problem but is there a solution that looks like mine?
Thanks