Newbie question about getting editorgrid row index
Im trying to copy a getselected row to a new row.
How do I pass the getselected rowindex to my store.insert? Right now Im using the "0" row index to insert at the top.
Be gentle ...Ive spend hours trying to figure this out ...
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.
Thank You. I knew there hadtobe a way to do it.
I ddint think about looking in the data class ...