Last active
October 30, 2018 14:57
-
-
Save AntMooreWebDev/115253eb71b5924bb38dec997cc79289 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // Ensure you select the table for the grid in the element view on Chrome | |
| var rowList = $($0).find('tr'); | |
| var elementList = "Id,Name\r\n"; | |
| $(rowList).each(function(i, el){ | |
| var thisRow = $(el); | |
| elementList = elementList + thisRow.data('id') + ',' + thisRow.find('.list__item-title').html() + "\r\n"; | |
| }); | |
| console.log(elementList); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment