BantuKumar Posted March 21, 2016 Share Posted March 21, 2016 Hi How can we assign a custom CSS to a component where ClientEvents property is not available like for components TUniToolBar, TUniDBNavigator etc. TIA, Quote Link to comment Share on other sites More sharing options...
BantuKumar Posted March 23, 2016 Author Share Posted March 23, 2016 Any update on this?? Thanks In Advance. Quote Link to comment Share on other sites More sharing options...
bugra Posted March 24, 2016 Share Posted March 24, 2016 Hi First add "uniGUIJSInterface" to uses. Then write this code on form's create. (UniToolBar1 as IUniJSInterface).JSConfig('cls', ['mycss']); This add a css class named mycss to UniToolBar (or any component you want). Then go servermodule and add your custom css into CustomCSS properties. (It has to be same name with added css class) 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.