:: Forum >>

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
Monday, July 31, 2006

This topic is archived.

Back to support forum

Forum search