3.2.0

Regain focus in current cell after setCellData

I am invoking the onCellEditEnded function within my datagrid. Within this function I call the setCellData to update the column and row that just changed within the grid. This works very nice except once the setCellData is invoked I cannot seem to regain focus in the current cell until I click the mouse back into the grid cell. The code is posted below:

obj.onCellEditEnded = function(text, col, row){GridOnChange(text, col, row);} ;

GridOnChange(text, col, row)
{
    var formatted = formatText(text);
    obj.setCellData(formatted, col, row);	
}
John
February 14,

This topic is archived.

See also:


Back to support forum