v7.3.0

AgendaColumn

A column that displays events for a day.

This is not intended to be used directly, it is used by the AgendaView which is a specialized Grid subclass.

It can be configured through the AgendaView's columns config:

const calendar = new Calendar({
    modes : {
        agenda : {
            columns : {
                agenda : {
                    renderer({ cellElement, record : cellData }) {
                        // Custom cell rendering
                        cellElement.classList.toggle('is-weekend', cellData.day === 0 || cellData.day === 6);
                        return this.defaultRenderer(...arguments);
                    }
                }
            }
        }
    }
});

See also

No results

Properties

Properties are getters/setters or publicly accessible variables on this class

Functions

Functions are methods available for calling on the class

    Type definitions

    type: agendacolumn

    Source path

    Calendar/column/AgendaColumn.js

    Contents