Timeline for I can't get index of the row in a aura:iteration component in the client side controller
Current License: CC BY-SA 3.0
16 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Apr 13, 2017 at 12:54 | history | edited | CommunityBot |
replaced http://salesforce.stackexchange.com/ with https://salesforce.stackexchange.com/
|
|
S Jan 4, 2017 at 6:36 | history | suggested | Reshma | CC BY-SA 3.0 |
Put code in code block
|
Jan 4, 2017 at 6:23 | review | Suggested edits | |||
S Jan 4, 2017 at 6:36 | |||||
May 21, 2016 at 10:54 | vote | accept | Evan S. | ||
May 21, 2016 at 10:53 | answer | added | Evan S. | timeline score: 0 | |
May 16, 2016 at 19:10 | history | edited | Evan S. | CC BY-SA 3.0 |
added 154 characters in body
|
May 16, 2016 at 17:40 | answer | added | Praveen | timeline score: 0 | |
May 16, 2016 at 16:24 | history | edited | Evan S. | CC BY-SA 3.0 |
added 5647 characters in body
|
May 16, 2016 at 15:49 | comment | added | Praveen | if you are not familiar with Events,this trailhead link will help you out. | |
May 16, 2016 at 15:37 | comment | added | Praveen | It's not possible to debug the issue,with the code you have posted now.Please don't post it as comment,post the code by editting your question | |
May 16, 2016 at 15:33 | comment | added | Praveen | No need to include the apex controller,just post your component,it's controller.js and helper.js and also Lightning Event (.evt) file alone. | |
May 16, 2016 at 15:28 | comment | added | Evan S. |
There really isn't anything to post other than my controller method editAffiliation which just calls the helper editRecord method which is what I pasted above. editAffiliation : function(component, event, helper) { helper.editRecord(component, event); } I was just starting on this part of the functionality and ran into the issue of not being able to identify which row to edit.
|
|
May 16, 2016 at 15:18 | comment | added | Praveen | Please post enough code by editing your question,so that i can help you out. | |
May 16, 2016 at 15:13 | comment | added | Evan S. |
@Praveen That doesn't appear to work... logs out as null editRecord : function(cmp, ev) { var row = cmp.getEvent("editAffiliation"); console.log('row', row); }
|
|
May 16, 2016 at 14:43 | comment | added | Praveen | Try deleting rows using Event mechanism,check out my answer | |
May 15, 2016 at 16:23 | history | asked | Evan S. | CC BY-SA 3.0 |