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
5 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
May 17, 2016 at 20:16 | comment | added | Evan S. | @prashanthkr that might work... thanks for the idea! | |
May 16, 2016 at 21:32 | comment | added | prashanthkr | I think your listItem component can fire a 'sort' event with parameter "asc" or "desc". The list component can handle that event and sort the afList array. This will rerender all the items in the list and display in sorted order. | |
May 16, 2016 at 17:58 | comment | added | Praveen | I'm not really sure about the sortable in a nested component | |
May 16, 2016 at 17:56 | comment | added | Evan S. | Thanks @Praveen Does the nested component support sorting on the table? I was planning to use sortable or Tablesorter so that's why I steered away from this approach. | |
May 16, 2016 at 17:40 | history | answered | Praveen | CC BY-SA 3.0 |