Base solution for your next web application
Open Closed

Feature request: DataTables action button dynamic text #7990


User avatar
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); }


2 Answer(s)
  • User Avatar
    0
    maliming created
    Support Team

    Very good enhancement. Thanks

    I create a issue for this. https://github.com/aspnetzero/aspnet-zero-core/issues/2759

  • User Avatar
    0
    ismcagdas created
    Support Team

    This issue is closed because it has not had recent activity for a long time.