You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What steps will reproduce the problem?
1. Create a textItem with a change handler like in tab showcase example
and use it to change the checkbox title
textItem.addChangedHandler(new ChangedHandler() {
public void onChanged(ChangedEvent event) {
checkBoxItem.setTitle((event.getValue() == null ? "Text":
event.getValue() + ""));
checkBoxItem.updateState();
}
});
What is the expected output? What do you see instead?
CheckBox text has to change but nothing happens
What version of the product are you using? On what operating system?
SmartGwt 1.0b1, Gwt 1.5.3 ,WinXP
Original issue reported on code.google.com by d.debort...@gmail.com on 16 Dec 2008 at 11:01
The text was updated successfully, but these errors were encountered:
Use checkboxItem.redraw() rather than updateState()
updateState() is intended to refresh the css styling applied to the form item
(and
make some other appearance changes), but it won't reliably refresh titles /
adjust
overflow, etc
Original comment by smartgwt...@gmail.com on 21 Feb 2009 at 1:10
Original issue reported on code.google.com by
d.debort...@gmail.com
on 16 Dec 2008 at 11:01The text was updated successfully, but these errors were encountered: