Hi,
I am trying to get a list of final resources and this includes if any were switched off using the legend. But this information does not seem to be captured anywhere?
I have here an example: https://jseditor.io/?key=a49d72e841be11e8b3a100224d6bfcd5
See that I have hidden the legend/appointments using: $(‘#scheduler’).jqxScheduler(‘hideAppointmentsByResource’, ‘Interviewer 2’); This is hiding the appointment/s as expected.
When I later print the value of the hidden attribute for all the appointments, they all show as false.
Basically, what I am trying to do is send a list of all active interviewers to my server. I have such a list maintained (consisting of Ids, not the resourceId, in my case), and am trying to update it when a user turns off a legend (i.e. it should be removed from my list) (or added when they turn the legend back on). But I am not able to find this information using the above method. I am also struggling with using mouseup event to do this, as I have to check during every mouseup, instead of having a dedicated event for legendClick, so let me know if there is one!
I tried to use jquery and can get this: $(“#legendbarbottomscheduler”).find(“[data-toggle=off]”), but the IDs are not associated to these tags (only the resource ID which is printed next to the legend square), so I cannot use it.
Any help is appreciated!
Thanks,
Roshini