I have a scheduler class rendered as a component in a Profile class, and I want to be able to grab all the event data from the scheduler at the press of a button that exists in parallel to the scheduler in Profile
The best way to export the data is to use the events.list property:
https://api.daypilot.org/daypilot-scheduler-events-list/
The Scheduler updates this array with all changes made using the UI (event moving, etc.) and API (events.add() and similar methods).