EditTextCellの編集中にGWT Celltableでテキストボックスの値がデフォルトで選択されますが、このデフォルトの選択を削除するにはどうすればよいですか?
EditText のこの celltable ショーケースも確認できます。
http://gwt.googleusercontent.com/samples/Showcase/Showcase.html#!CwCellSampler
EditTextCellの編集中にGWT Celltableでテキストボックスの値がデフォルトで選択されますが、このデフォルトの選択を削除するにはどうすればよいですか?
EditText のこの celltable ショーケースも確認できます。
http://gwt.googleusercontent.com/samples/Showcase/Showcase.html#!CwCellSampler
をクリックすると、コンテンツにフォーカスして選択するメソッドがEditTextCell
呼び出されます。edit
こちらをご覧ください
protected void edit(Context context, Element parent, String value) {
setValue(context, parent, value);
InputElement input = getInputElement(parent);
input.focus();
input.select(); /* HERE */
}
EditTextCell
たぶん、最後の行なしでこのメソッドをオーバーライドして、拡張するカスタムクラスを作成できます...