Dynamic icons in a table

An icon element can be dropped into a table element column.
To dynamically control an icon column, you must create a callback which requests an object which defines the icon element properties.
You then must map this object to the icon column properties.

The object should have the following properties:
{
  "name": "string",
  "size": "string",
  "color": "string",
  "text": "string"
}

where:

  • name corresponds to the Icon name property.

  • size corresponds to the Icon size property.

  • color corresponds to the Icon color property.

  • text corresponds to the Icon label property.

    Note

    name, size, and color must have values which appear in the corresponding icon element property dropdowns.
    text can be any string.

In this section