Upgrade guide for Calendar v7.0.0
New themes, styling & FontAwesome changes
This release has extensive changes in the styling of all Bryntum products, and any custom themes and app styling will need to be updated. See Grid's upgrade guide for more information.
DatePicker's cellRenderer context
DatePicker's cellRenderer is now passed the cell element as the cell property of its render context. The inner element into which new content can be added is passed as innerCell. Previously the inner element was passed in the cell property. This will only affect your apps if you have implemented a cellRenderer in any DatePicker
Old code
cellRenderer({ cell, date }) {
cell.innerHTML += `<b>${getValueForDate(date)}</b>`;
}
New code
cellRenderer({ innerCell, date }) {
innerCell.innerHTML += `<b>${getValueForDate(date)}</b>`;
}