Reputation: 7068
How do you get the row-index (position) of a row by the id in an ExtJS GridPanel?
Upvotes: 7
Views: 25717
Reputation: 22386
use store.indexOf method:
var record = store.getNodeById(id),
rowIndex = store.indexOf(record);
Upvotes: 15