Java: 1.8
SGWT: 5.0-p20180227
Occurs in Chrome, Firefox, IE
Hi Isomorphic,
We are experiencing an issue that is driving us batty.
Essentially, a client background DMI call that occurs in the middle of an edit in a ListGrid is causing that edited text to become highlighted. I
f the user does not notice this and keeps typing, the highlighted text is over-written by the next keystroke.
Situation:
1) We have a Timer that makes a DMI call to the Application Server every minute.
2) The DMI call has an RPCCallback to handle the return of data.
3) The call is used to extend or cancel the user's session and has nothing to do with the text or data in the ListGrid.
4) We have a ListGrid that has a ListGridEditorCustomizer set on it.
5) The ListGrid has 2 columns: one for an non-editable 'Key' the other for an editable 'Value'.
6) The ListGridEditorCustomizer returns either a TextItem or a ComboxItem for the 'Value' column of each row.
See the method ListGridEditorCustomizer.getEditor(ListGridEditorContext context)
7) This Grid does not have a Datasource set on it.
Scenario:
A user is editing the 'Value' column and the ListGrid cell is a TextItem.
DMI call occurs while the user is typing data into the TextItem.
The text gets highlighted.
User does not notice the text (mysteriously) gets highlighted.
Their next keystroke removes their previous typing...user Mad!!!
We would like to know, how to prevent ListGrid from highlighting the text being edited when the DMI call occurs.
Please note, this problem only occurs if the user is editing the TextItem on a cell of a ListGrid.
It does not occur if the user is editing a TextItem on a Form.
Many Thanks,
siegersallee
SGWT: 5.0-p20180227
Occurs in Chrome, Firefox, IE
Hi Isomorphic,
We are experiencing an issue that is driving us batty.
Essentially, a client background DMI call that occurs in the middle of an edit in a ListGrid is causing that edited text to become highlighted. I
f the user does not notice this and keeps typing, the highlighted text is over-written by the next keystroke.
Situation:
1) We have a Timer that makes a DMI call to the Application Server every minute.
2) The DMI call has an RPCCallback to handle the return of data.
3) The call is used to extend or cancel the user's session and has nothing to do with the text or data in the ListGrid.
4) We have a ListGrid that has a ListGridEditorCustomizer set on it.
5) The ListGrid has 2 columns: one for an non-editable 'Key' the other for an editable 'Value'.
6) The ListGridEditorCustomizer returns either a TextItem or a ComboxItem for the 'Value' column of each row.
See the method ListGridEditorCustomizer.getEditor(ListGridEditorContext context)
7) This Grid does not have a Datasource set on it.
Scenario:
A user is editing the 'Value' column and the ListGrid cell is a TextItem.
DMI call occurs while the user is typing data into the TextItem.
The text gets highlighted.
User does not notice the text (mysteriously) gets highlighted.
Their next keystroke removes their previous typing...user Mad!!!
We would like to know, how to prevent ListGrid from highlighting the text being edited when the DMI call occurs.
Please note, this problem only occurs if the user is editing the TextItem on a cell of a ListGrid.
It does not occur if the user is editing a TextItem on a Form.
Many Thanks,
siegersallee
Comment