I am trying to set background image for a button using Ext.util.CSS.createStyleSheet . Below is the code snippet, i am writing this in a controller landingpage.js,but the background image is not getting called in background, I used same path for setting a image in a cell grid through same controller which is working fine;
Ext.util.CSS.createStyleSheet('.filter1{background:#BFC9D2 !important;background-image:"/app/researchInvestments/images/close-icon.bmp";}');
My Folder structure is as below
Code:
app
-researchInvestments
--common
---controller
----landingpage.js
---model
---view
---store
--images
-----close-icon.bmp