a!iconIndicator icons not displaying

Hi ,
our icons are not displaying where a!iconIndicator is being used? Any pointers would be greatly appreciated

OriginalPostID-273151

  Discussion posts and replies are publicly visible

Parents
  • Hi Surendrab,
    As per above comments a!richTextdisplayField or a!richTextImage will not work in a!gridField(),
    You need to use a!gridImageColumn() under columns, this can be iterate throught a!applyComponent()

    For your requirement the code should be
    a!gridImageColumn(
    label: "Status",
    size: "ICON",
    data: a!applyComponent(
    function: a!documentImage(
    document: _,
    ),
    array: a!applyComponent(
    function: a!iconIndicator(_),
    array: "ADD"
    )
              )
    )
Reply
  • Hi Surendrab,
    As per above comments a!richTextdisplayField or a!richTextImage will not work in a!gridField(),
    You need to use a!gridImageColumn() under columns, this can be iterate throught a!applyComponent()

    For your requirement the code should be
    a!gridImageColumn(
    label: "Status",
    size: "ICON",
    data: a!applyComponent(
    function: a!documentImage(
    document: _,
    ),
    array: a!applyComponent(
    function: a!iconIndicator(_),
    array: "ADD"
    )
              )
    )
Children
No Data