Hello !
I would like to know if it's possible to use Styled Icons in a Paging Grid (via a a!richTextIcon() or other) ?
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
There's currently no way to use Rich Text components within a paging grid at all; we're pretty much limited to a!gridTextColumn (which renders whatever it gets as plaintext), and a!gridImageColumn (which only accepts document images and similar). Hence my feature request. There are also other strong use cases, which is why I believe this is badly overdue functionality.
Edit (2021-07-06) - since someone has revived this zombie thread and thus floated it back to the top of community after 2.5 years, I'll go ahead and point out here that this is now a moot point since the introduction of the New Read-only Grid Component in Appian 19.2, which now inherently supports Rich Text fields (and much easier row-by-row logic in columns).
Hi Fneup,
Steps to use custom Icon as below,
1.you can upload custom icon as document in Appian
2.use a!richtextdisplayField inside use a!richtexticon and inside image contain use a!documentImage and give uploaded documentID and icon will display.
eg. a!richTextDisplayField( value: { a!richTextImage(image: a!documentImage(document: "20817",altText: "Test")), a!richTextImage(image: a!documentImage(document: "20816",altText: "Test")) } )
Just FYI, this was a very old post. Some of us refer to these as "zombie threads".
Since this was originally posted, 19.2 was introduced which came with a whole new Paging Grid (aka Read-Only Grid) component, which now uses a!gridColumn() (instead of a!gridTextColumn()), which can be fed a rich text display field as the value for any or all cells, which marks a dramatic improvement.
For what it's worth, I recommend people use a!richTextIcon() and the natively supported icon set (as opposed to the a!documentImage approach seen here), unless there are strong reasons that require it - just for standardization and upkeep reasons.