'How could I get the column X data in an array from datatable.rows('.selected')?

On the official page: https://datatables.net/examples/api/select_row.html

It says I can use .rows() to get the context object.

However, If I want to get all the names in an array, in this particular case, like:

["Angelica Ramos", "Brielle Williamson", "Bruno Nash"]

enter image description here

What should I do?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source