Jump to content

Recommended Posts

Posted

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;
}
  • 1 year later...
Posted

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');

Posted

Hi,

 

Try this:

 

...

 

UnimEdit -> ClientEvents -> UniEvents -> function beforeInit:

function beforeInit(sender, config)
{
    config.inputCls = 'mycss';
}

Best regards.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...