Skip to content

Commit

Permalink
Disable ?? column in bound table
Browse files Browse the repository at this point in the history
  • Loading branch information
kylehuynh205 committed Mar 12, 2024
1 parent 998a43a commit 262ae20
Showing 1 changed file with 8 additions and 9 deletions.
17 changes: 8 additions & 9 deletions admin/admin.php
Original file line number Diff line number Diff line change
Expand Up @@ -436,7 +436,7 @@ function exportAllAction(e, dt, button, config) {
/*{data: 'redirect'},*/
{data: 'ark_url'},
{data: 'metadata'},
{data: 'policy'},
/*{data: 'policy'},*/
],
"fnDrawCallback": function (oSettings) {
//enableShowHideMetadataColumn();
Expand All @@ -450,14 +450,14 @@ function exportAllAction(e, dt, button, config) {
extend: 'csv',
text: 'Export',
exportOptions: {
columns: [1, 2, 3, 4]
columns: [1, 2, 3]
},
},
{
extend: 'csv',
text: 'Export all',
exportOptions: {
columns: [1, 2, 3, 4]
columns: [1, 2, 3]
},
"action": exportAllAction
},
Expand All @@ -470,11 +470,11 @@ function exportAllAction(e, dt, button, config) {
className: 'select-checkbox',
targets: 0
},
{
/*{
orderable: false,
targets: 4
},
/*{
{
"targets": 2,
"data": "redirect",
"render": function (data, type, row) {
Expand All @@ -495,15 +495,15 @@ className: 'select-checkbox',
return data;
}
},
{
/*{
"targets": 4,
"data": "metadata",
"data": "policy",
orderable: false,
"render": function (data, type, row) {
data = '<a target="_blank" href="' + data + '">' + data + '</a>';
return data;
}
},
},*/
{
"targets": 2,
"data": "ark_url",
Expand Down Expand Up @@ -1698,7 +1698,6 @@ function processPostSuccess(index, csvResult, data) {
<!--<th>Number <br />of Redirects</th>-->
<th>Ark URL</th>
<th>Metadata</th>
<th>Policy <br /> Statement</th>
</tr>
</thead>
</table>
Expand Down

0 comments on commit 262ae20

Please sign in to comment.