hi
since my searches only result in guessing how to style some special cases
i just wanted to know how can i change the style of a simple textitem
i have a dynamicform which is used for new registrations
in case of a validation error i wanted to set the background color to red
maybe someone can provide real code
using this.city.setCellStyle("textItemError"); and this.city.setAttribute("STYLE", "background-color:#000000;");
didnt work with
so how does it have to be done correctly?
smartGWT 2.2
firefox 3.6.8
thx
since my searches only result in guessing how to style some special cases
i just wanted to know how can i change the style of a simple textitem
i have a dynamicform which is used for new registrations
in case of a validation error i wanted to set the background color to red
maybe someone can provide real code
using this.city.setCellStyle("textItemError"); and this.city.setAttribute("STYLE", "background-color:#000000;");
didnt work with
Code:
.textItemError textItem { background-color: #77000 }
smartGWT 2.2
firefox 3.6.8
thx
Comment