0
tinytownsoftware created
It would be helpful to make the text of the dropdown actions in the DataTable dynamic. I modified the code and figured you can maybe include it in a future release.
In datatables.record-action.js - createDropdownItem function:
if (fieldItem.text) { var text = ''; if (typeof fieldItem.text === 'function') { text = fieldItem.text({ record: record }); } else { text = fieldItem.text; } $a.html(text); }