Hi,
Is see an inhomogeneous behavior when editing in grid regarding text selection when an item gets the focus with the mouse:
1. When the focus is changed by clicking with the mouse in a different field of the same row that is currently being edited:
1.1 all the text in the new focused field is selected for a very short time
1.2 then the selection is removed and the cursor is kept in the position the click was done
2. When the focus is changed by clicking with the mouse in a field from a record that is not currently being edited:
2.1 the text in the new focused field is selected and selection is kept
Is this behavior intended? If so, could I force case 1 to behave in the way it does for case 2?
This can be tested in current live examples [1]
In addition, I've tried to change this behavior when editing in a DynamicForm so when focusing a field with the mouse the text gets selected.
What I wrote:
What I get: selectOnClick has no effect for me, when focusing in a different field using the mouse its text remains unselected.
What I expect: text should be selected in the field that acquired the focus [2].
Both issues tested in live examples [1], version ISC_100_BRANCH_2015-07-30_1438306266_alex_apex/WWW Deployment
Regards
---
[1] http://www.smartclient.com/#massUpdateFS
[2] http://www.smartclient.com/docs/rele....selectOnClick
Is see an inhomogeneous behavior when editing in grid regarding text selection when an item gets the focus with the mouse:
1. When the focus is changed by clicking with the mouse in a different field of the same row that is currently being edited:
1.1 all the text in the new focused field is selected for a very short time
1.2 then the selection is removed and the cursor is kept in the position the click was done
2. When the focus is changed by clicking with the mouse in a field from a record that is not currently being edited:
2.1 the text in the new focused field is selected and selection is kept
Is this behavior intended? If so, could I force case 1 to behave in the way it does for case 2?
This can be tested in current live examples [1]
In addition, I've tried to change this behavior when editing in a DynamicForm so when focusing a field with the mouse the text gets selected.
What I wrote:
Code:
isc.DynamicForm.create({ selectOnClick: true, fields: [ {title: "Username", type: "text" }, {title: "Email", type: "text"} ] });
What I expect: text should be selected in the field that acquired the focus [2].
Both issues tested in live examples [1], version ISC_100_BRANCH_2015-07-30_1438306266_alex_apex/WWW Deployment
Regards
---
[1] http://www.smartclient.com/#massUpdateFS
[2] http://www.smartclient.com/docs/rele....selectOnClick
Comment