Fábio Matte Posted June 29, 2018 Share Posted June 29, 2018 Is it possible to apply a CSS Style in TUnimList to be different from the Unigui / Sencha pattern? Quote Link to comment Share on other sites More sharing options...
Sherzod Posted June 29, 2018 Share Posted June 29, 2018 Hi, If I understand you correctly, you can use these configs: function beforeInit(sender, config) { //config.itemTpl = '<div style="color: green; font-weight: bold">{val}</div>'; config.itemCls = 'myList'; } .myList { color: green; font-weight: bold; } 1 Quote Link to comment Share on other sites More sharing options...
Fábio Matte Posted June 29, 2018 Author Share Posted June 29, 2018 Hi, If I understand you correctly, you can use these configs: function beforeInit(sender, config) { //config.itemTpl = '<div style="color: green; font-weight: bold">{val}</div>'; config.itemCls = 'myList'; } .myList { color: green; font-weight: bold; } Thank you, that was exactly it. 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.