Hi TaeWook Kang,
Query#1: I hope the text is automatically selected when I start
editing.
If you want to select the text while editing a string type column
in batch mode, we suggest the batcheditform-rendered internal
event in which you can get the edit form element and call the “select” method
for the input.
function editFormRendered(args) {
if (args.columnName == 'CustomerID') {
args.cell.querySelector('input').select();
}
}
function load(e) {
var grid = document.getElementsByClassName('e-grid')[0].ej2_instances[0];
// added the call back
for the “batcheditform-rendered” event
grid.on('batcheditform-rendered', editFormRendered);
}
|
Query#2: I hope that the edit mode does not turn off even if the
mouse cursor deviates when dragging in the edit mode.
By default, the edit mode will be maintained while you drag inside
the current editing cell. While you drag outside of the edited cell it will end
the batch editing. This is the default behavior of the Grid component.
Regards,
Pavithra S