mirror of
https://github.com/pi-hole/web.git
synced 2025-12-24 04:38:28 +00:00
Merge pull request #1948 from pi-hole/tweak/datatables
Tweak to datatables column rendering
This commit is contained in:
@@ -27,6 +27,12 @@ $(function () {
|
||||
{ data: "description" },
|
||||
{ data: null, width: "60px", orderable: false },
|
||||
],
|
||||
columnDefs: [
|
||||
{
|
||||
targets: "_all",
|
||||
render: $.fn.dataTable.render.text(),
|
||||
},
|
||||
],
|
||||
drawCallback: function () {
|
||||
$('button[id^="deleteGroup_"]').on("click", deleteGroup);
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user