Dear Team,
Would like to know how to Expand/Collapse all nodes on resource tree with one click. May be by using javascript?
Yes, you can use rows.expandAll() method:
dp.rows.expandAll();
See also: https://api.daypilot.org/daypilot-scheduler-rows-expandall/