Skip to main content
Nintex Community Menu Bar
Question

Add your own ICON to Column setting

  • November 11, 2024
  • 2 replies
  • 58 views

Forum|alt.badge.img+16

Hi,

 

Other than the ootb icons which you can select for the COLUMN ICON setting, can you set your own? I want to use simple things like Bullet points etc, but the icons are old school document type icons.

2 replies

Forum|alt.badge.img+6
  • Nintex Employee
  • November 12, 2024

Hi there,

 

If you select a “default” icon, you can then use CSS to inject custom icons. Example:

I used the Excel Worksheet icon as the default for my column and then added the below to a data label in the toolbar with Literal set to true, and Prevent XSS set to false.


<style>
.theme-entry .grid .grid-content-cell.icon.document-xls .grid-content-cell-wrapper:before
{
background-image: url("[your icon URL]");
background-size: contain;
}
</style>

 

Note, when using certain themes, the hover and selected states will need to be adjusted as well. The elements for these are below.

Hover:

.theme-entry .grid .grid-content-table tr:hover .grid-content-cell.icon.document-xls .grid-content-cell-wrapper:before

Selected:

.theme-entry .grid .grid-content-table tr.selected .grid-content-cell.icon.document-xls .grid-content-cell-wrapper:before


Please also log this in the ideas portal for voting if you like.

Hope this helps!

 

Kind Regards,

Gem


Forum|alt.badge.img+16
  • Author
  • Scout
  • November 13, 2024

thanks, i’ll take a look into this