Activity › Forums › Salesforce® Discussions › how to get index number of a row in table in aura iteration in Salesforce? Tagged: Index Number, Row, Salesforce Aura Iteration, Table Salesforce® Discussions how to get index number of a row in table in aura iteration in Salesforce? Posted by Yogesh on November 22, 2019 at 7:46 AM i have to get index number of a row in a aura iteration . Piyush replied 6 years, 5 months ago 2 Members · 1 Reply Index NumberRowSalesforce Aura IterationTable 1 Reply Piyush Member November 25, 2019 at 6:18 AM Hi, I am sharing an example you can take help from this for your senerio:- <a href="javascript:void(0);" id="{!idx}" onclick="{!c.editAffiliation}">Edit</a> editAffiliation : function(component, event, helper) { helper.editRecord(component, event); } editRecord : function(cmp, ev) { var afList = cmp.get('v.afList'); var affiliation = afList[ev.srcElement.id]; this.openModal(affiliation); } Log In to reply. Public All Members My Connections Only Me PublicAll MembersMy ConnectionsOnly Me Public All Members My Connections Only Me