Your question is a little difficult to understand. It might have helped to have included a couple of short code snippets to show what you're currently doing.
In many cases where you need access to the rowIndex it is already available as one of the arguments to whatever handler you are in. However, if all you have is the record then you can call store.indexOf(record) to find out its position in its current store.