mhmda Posted March 2, 2016 Posted March 2, 2016 Mar7aba, You can use: 1. ClientEvents->added: sender.setInputCls('mycss'); 2. (OR) ClientEvents->UniEvents->beforeinit: config.InputCls('mycss'); CSS -> ServerModule->CustomCSS: .mycss { color:#91b4cd !important; -webkit-text-fill-color:#91b4cd !important; font: 14px Tahoma, Helvetica, sans-serif !important; font-weight:bold; } Quote
Wilton Ergon Posted March 13, 2017 Posted March 13, 2017 I tried and generated the following error ajax Error config.inputCls is not a function I did not understand where exactly to put the code sender.setInputCls('mycss'); Quote
Sherzod Posted March 13, 2017 Posted March 13, 2017 Hi, Try this: ... UnimEdit -> ClientEvents -> UniEvents -> function beforeInit: function beforeInit(sender, config) { config.inputCls = 'mycss'; } Best regards. Quote
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.