The rows.headerToggle() method toggles the row header visibility.
DayPilot.Scheduler.rows.headerToggle()
dp.rows.headerToggle();