Search This Blog

SmartGWT: how to make TextItem read only


textitem.setAttribute("readOnly",true);


See also this.

2 comments:

  1. But when I try:

    textitem.setAttribute("readOnly",false);

    and textitem still can't edit, maybe it's bug of SmartGWT.

    ReplyDelete