mhamano / Qlik-Sense-Reload-Button

Reload Button for Qlik Sense

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How to change the ICON of the reload button

kishanoranw opened this issue · comments

When i am using the Reload Button Extension in Qlik sense, i am geting this icon circled in red:
reload

I want to change the icon of the Reload button to something like this :
reload_btn

Hi,

The easiest way is modifying the code in ReloadButton.js as follows. Following example show the image file named "reload_btn.png" placed on the default content library.

-existing code

           // Display Extension Visualization
            var html = html = '<a href="#" id="modal-open" class="btn btn-primary">Reload</a>'; 

-modified coded

            var url = '/content/default/reload_btn.png';
           var html = '<a href="#" id="modal-open" >' + '<img style="width:100%" src="' + url + '">' + '</a>';