Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
私はGWT/GXTを使用しています。編集可能なグリッドを使用しています。3つの列があります。ユーザーがTABを使用して最初の列から他の列に移動する場合は、列のテキストを次のように選択する必要があります(セル全体ではなくテキストに対してのみ青い背景のセル)。これにより、削除またはバックスペースを使用してセルのテキストを簡単に削除できます。テキストを再度選択せずにボタン。ここで私の質問は、マウスのテキスト選択をシミュレートする方法ですか?
ありがとう!
final TextField<String> text = new TextField<String>(); text.setSelectOnFocus(true); column.setEditor(new CellEditor(text)); configs.add(column); //ColumnConfig