How to select the whole text when i edit a cell on single click
Hi
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){
//alert("me");
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 ?
Thanks
Vikramaditya Garg
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){
//alert("me");
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 ?
Thanks
Vikramaditya Garg
Vikramaditya Garg
July 31,