We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents c920f51 + cd962d6 commit a363f69Copy full SHA for a363f69
assets/js/aboutCodeDataTables.js
@@ -248,6 +248,16 @@ class AboutCodeDataTable {
248
extend: "colvisGroup",
249
text: "Show all columns",
250
show: ":hidden"
251
+ },
252
+ {
253
+ // Hide all columns except Path
254
+ extend: "colvisGroup",
255
+ text: "Hide all columns",
256
+ show: AboutCodeDataTable.LOCATION_COLUMN
257
+ .map((column) => `${column.name}:name`),
258
+ hide: AboutCodeDataTable.TABLE_COLUMNS
259
+ .filter((column) => AboutCodeDataTable.LOCATION_COLUMN.indexOf(column) < 0)
260
+ .map((column) => `${column.name}:name`)
261
}
262
],
263
dom: // Needed to keep datatables buttons and search inline
0 commit comments