Jump to content

Disabled unidbedit font color change


mehmet07
 Share

Recommended Posts

Hi,

 

If I understand you correctly..

Can you try this ?!:

 

1. UniServerModule.CustomCSS:

._x-item-disabled .x-form-field {
    opacity: 1;
    -moz-opacity: 1;
    filter: alpha(opacity=100);
    color: black;
    background: lime;
}

2. UniDBEdit->ClientEvents->UniEvents-> beforeInit fn:

function beforeInit(sender, config)
{
    config.disabledCls = "_x-item-disabled";
}

Best regards.

Link to comment
Share on other sites

  • 1 year later...

Hi,

 

If I understand you correctly..

Can you try this ?!:

 

1. UniServerModule.CustomCSS:

._x-item-disabled .x-form-field {
    opacity: 1;
    -moz-opacity: 1;
    filter: alpha(opacity=100);
    color: black;
    background: lime;
}

2. UniDBEdit->ClientEvents->UniEvents-> beforeInit fn:

function beforeInit(sender, config)
{
    config.disabledCls = "_x-item-disabled";
}

Best regards.

What could be incorrect?
The control is dynamically created
 
TUniDBEdit(ac).ClientEvents.UniEvents.Values['beforeInit'] := 'function beforeInit(sender, config) { config.disabledCls = "_x-item-disabled";}';

post-1670-0-98995000-1520010568_thumb.png

Link to comment
Share on other sites

  • 2 years later...

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.

 Share

×
×
  • Create New...