Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • defaultCellTemplate - Defines the default template type to render cells when no conditional rules apply. For example, "date" will format the content as a date.

  • columnCellTemplateRules - Contains an array of rules that determine how cells should be rendered based on conditions. Each rule defines when to apply a specific template type.

  • customCellTemplate - Provides specific configuration for custom cell template types, such as icon configuration, date formats, or text transformation settings.

Cell Templates

Progress Bar Cell Template

Required Datasource

The cell template expects a numeric value in the column.

Properties

  • accuracy - How many decimal places the bar label should display.
  • useCustomScale - Wether the data is in percent (0-100) or uses a custom max value.
  • maxValue - If the progress bar uses a custom scale, this value determines the maximum value that the progress bar is scaled to.

Testing Properties

  • dataTestId - Sets a testing hook attribute for automated testing scripts. For example, "order-date-column" would allow test automation to reliably identify this column.