Hi Farshad Mohajeri,
In TuniDBGrid, is it possible to start cell editing when key pressed? I found some related post in below url:
http://forums.ext.net/showthread.php?17515-CLOSED-GridPanel-start-cell-editing-when-key-pressed
When I put below code in ClientEvents.ExtEvents, it doesn't work!
function OnKeydown(e)
{
var me = this,
grid = me.grid,
selModel = grid.getSelectionModel(),
record,
char = String.fromCharCode(e.getKey());
pos = selModel.getCurrentPosition();
record = grid.store.getAt(pos.row);
columnHeader = grid.headerCt.getHeaderAtIndex(pos.column);
me.startEdit(record, columnHeader);
record[columnHeader.dataIndex] = char;
Ext.Function.defer(function () {
columnHeader.getEditor().field.fireKey(e.RIGHT);
},50);
}