i have a disabled textitem and depending on certain conditions I need to change the css to italics but it does not seem to be working for disabled test items. please help, i am using version smartclient 7.x
here is how i am trying to do.
I defined a css
.showInItalics{
font-style:italic !important;
}
if any condition x is true.
//textItemDisabled is also defined and uses same as of textItem
var styleClass = "textItemDisabled showInItalics";
textIitem.textBoxStyle = styleClass;
testItem.updateState();
here is how i am trying to do.
I defined a css
.showInItalics{
font-style:italic !important;
}
if any condition x is true.
//textItemDisabled is also defined and uses same as of textItem
var styleClass = "textItemDisabled showInItalics";
textIitem.textBoxStyle = styleClass;
testItem.updateState();
Comment