2008-12-02

DataGrid Cell Focus

If you want to put the cursor in a specific cell of an editable DataGrid so the user can begin editing right away, then here is the sample code you need:

emails.editedItemPosition = {rowIndex: 1, columnIndex: 1};

Enjoy :)