Any method to retrieve a row from a model by it's index in javascript without creating a UI only field in the model to expose it?

As per Title. Anyone have an answer for this?

Not exactly sure what you are trying to do here Pat. The " {{index}} " merge function is row aware and can be used in UI elements or to pass information into other processes.

You’ve probably seen this before, I’ve got a snippet to move rows up or down using an Order__c number field. In order to properly update the fields for the current row and either the row above or below to get updated values, I need to target them by their index. I’d also like to do this for many models across the org without an action sequence. With a snippet I can get the current row and model. As I said above I need to target the row above or below as well without adding something to each model to identify the row index using the merge syntax.

Can I somehow use the merge syntax of {{index}} in a snippet?

Found something from a post. Basically loop through models rows until model row equals params row and you have the index.

Created these ideas based on this post.