Styled Icon in a Paging Grid

A Score Level 2

Hello !

I would like to know if it's possible to use Styled Icons in a Paging Grid (via a a!richTextIcon() or other) ?

  • I did manage to use Styled Icons in an Editable Grid,
  • I also did manage to use Indicator Icons in a Paging Grid,
  • but I did not manage to use Styled Icons in a Paging Grid. 

It though it would be possible as it can be done in a record List grid view for example.

Thanks for your help !

 

  Discussion posts and replies are publicly visible

Parents
  • 0
    Certified Senior Developer
    Hi François-Nicolas PARACHINI,

    You can use a!gridImageColumn instead of a!gridtextColumn.

    and replace the richtext with a!documentimage. it will work

    sample code:
    a!gridImageColumn(
    label: ""
    field:"prioruty",
    size: "ICON",
    datd:a!documentImage(
    document: a!iconIndicator(
    icon: "PRIORITY_HIGH"
    ),
    altText: "HIGH PRIORITY",
    caption: "HIGH PRIORITY"
    )),

    Thanks & Regards,
    Bhanu
Reply
  • 0
    Certified Senior Developer
    Hi François-Nicolas PARACHINI,

    You can use a!gridImageColumn instead of a!gridtextColumn.

    and replace the richtext with a!documentimage. it will work

    sample code:
    a!gridImageColumn(
    label: ""
    field:"prioruty",
    size: "ICON",
    datd:a!documentImage(
    document: a!iconIndicator(
    icon: "PRIORITY_HIGH"
    ),
    altText: "HIGH PRIORITY",
    caption: "HIGH PRIORITY"
    )),

    Thanks & Regards,
    Bhanu
Children
No Data