This sample shows how to update period data from JavaScript.
Update period start and end using updatePeriod function.
Update period start and end using updatePeriodStart and updatePeriodEnd functions.
Update period custom attributes for "Period 6" using updatePeriodCustomAttributeValue function.
Switch period style using switchPeriodStyle function.
Select period using selectPeriod function.