Jump to content

Can we write CSS or script at design time for a component where ClientEvents is not available?


BantuKumar

Recommended Posts

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)

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...