Skip to main content
Nintex Community Menu Bar
Question

Add your own ICON to Column setting

  • November 11, 2024
  • 2 replies
  • 34 views
  • Translate

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.

Did this topic help you find an answer to your question?

2 replies

Forum|alt.badge.img+4
  • Nintex Employee
  • 22 replies
  • 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

Translate

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

thanks, i’ll take a look into this

Translate

Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie Settings