3.0 beta 2

How to select the whole text when i edit a cell on single click


I have a grid in which i have used edit on single click.When I click on cell the full text for that cell is not selected by default.

Even i have done the following.

obj.onCellClicked = function(event, col, row){
this.raiseEvent("editCurrentCell", event, col, row);
this.getCellTemplate(col, row).element().select();
this.getCellTemplate(col, row).element().focus();

Can any body tell me why this happens or this is a bug in AW 2.0.1 ?

Vikramaditya Garg
Vikramaditya Garg
July 31,

This topic is archived.

See also:

Back to support forum


Version 2

Looking for AW 2.6 ?
The old site is here.