Skip to content

Header Properties

Interface: ColumnRegular Type: ColPropertiesFunc

Attributes or settings applied to column headers, influencing their behavior and presentation, such as width, visibility, and events.

ts
const columns: ColumnRegular[] = [{
        name: 'Person name',
        prop: 'name',

        // apply this for custom properties
        columnProperties: ({ prop }: ColumnRegular): CellProps => {
            return {
                style: {
                    color: 'red',
                },
                class: {
                    bank: true,
                },
            }
        },
}]

Revogrid is a MIT-licensed open source library made by Revolist OU.