TailwindClassFormatterConfigType: {
    classList: string;
    hideWhenEmpty: boolean;
    type: string;
}

The configuration object for the TailwindClass formatter.

Type declaration

  • classList: string

    The class list of the cell. You can set multiple classes here. For example, 'bg-green-500 text-white'.

  • hideWhenEmpty: boolean

    If true and the cell is empty, the data in the cell will be hidden. If false, the data will be shown no matter if its empty or not.

  • type: string

    The type of the formatter. In this case, it should be 'Tailwind'.