I am using SmartGWT 5.1p and trying to set it so that in my list grid when I go into edit the row the TextAreaItem does not select all the text. I tried to do this by setting the Editor Popreties to a TextAreaItem with selectOnFocus and SelectOnClick set to false as such:
TextAreaItem ti = new TextAreaItem();
ti.setWidth("*");
ti.setHeight(75);
ti.setLength(4000);
ti.setSelectOnFocus(false);
ti.setSelectOnClick(false);
li.setEditorProperties(ti);
li.setType(ListGridFieldType.TEXT);
But this does not seem to be taking effect. Any help with this would be appreciated.
Thank you
-Tom
TextAreaItem ti = new TextAreaItem();
ti.setWidth("*");
ti.setHeight(75);
ti.setLength(4000);
ti.setSelectOnFocus(false);
ti.setSelectOnClick(false);
li.setEditorProperties(ti);
li.setType(ListGridFieldType.TEXT);
But this does not seem to be taking effect. Any help with this would be appreciated.
Thank you
-Tom