How to get the section data of a scheduler? When we create a units view how can we get the what all units are present in the scheduler later? The unit ids, labels etc.
In your navigator/browser console, I think you could try this to reveal all the set :
// eg. console.dir(scheduler._props['units']);
in case you are planning to modify list of displayed options, you can define them with scheduler.serverList method:
});then you’ll be able to retrieve or modify them from code:
var sections = scheduler.serverList("sections");
scheduler.updateCollections("sections", [...new sections...]);
In case you are not going to update displayed options, the method suggested by eureka75 should work fine.