Didier Posted June 29, 2018 Share Posted June 29, 2018 Hello, I have 2 UniDbGrids. In both of then i 've checkbox column . In one i want to change chekbox image to another image for checked/unchecked In the other i want to do the same with others images. How to do this just changing checkbox checked/unchecked images for each uniguidbgrig. I can use directly images instead of this, but it seems better doing like this. Thank you Quote Link to comment Share on other sites More sharing options...
Sherzod Posted June 29, 2018 Share Posted June 29, 2018 Hi, How about FontAwesome ? 1. UniDBGrid -> function beforeInit(sender, config) { config.cls='mygrid'; } 2. CustomCSS: .mygrid .x-grid-checkcolumn::after { content: "\f096"; background-image: none; font-family: fontawesome; font-size: 16px; color: red; } .mygrid .x-grid-checkcolumn-checked::after { background-image: none; content: '\f046'; } .mygrid .x-uni-checkcolumn-text { padding-left: 20px; } Quote Link to comment Share on other sites More sharing options...
Didier Posted July 5, 2018 Author Share Posted July 5, 2018 Hi Thank you it works fine Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.