get data row
get data row
I have a list of stocks in each row, this list has (update, edit, delete), I get the data row when selecting an item from the list to create a custom modal and send that data, much like this tutorial https://editor.datatables.net/examples/styling/envelopeInTable.html
{
render: function (data, type, row) {
return "<td class = 'text-center'>
<Ul class = 'icons-list'>
<Li class = 'dropdown'> Update </ li>
<Li> Block </ li>
<Li> Delete </ li>
</ Ul>
</ Td> ";
}
view works perfect, but I want to get the data by selecting one of these items
Replies
I'm afraid I'm not quite understanding what you are looking for. Do you want an event listener on your dropdown list items? You could just use a standard jQuery event listener for that.
Allan