Q:

Extjs 4 GridPanel: how can I get the row-index (position) of an element by id

How do you get the row-index (position) of a row by the id in an ExtJS GridPanel? 

A:

use store.indexOf method:
var record = store.getNodeById(id),
    rowIndex = store.indexOf(record);

A:

Ext.data. Store.indexOfId
var rowIndex = store.indexOfId(id);

