-
Hi |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
@mrgamhong there isn't a built in option, but it is pretty simple to edit them out. On the file "_layout/data.html" delete the line that looks like: On your home page you will also want to remove the data download buttons, so on the file "_layout/home-infographic.html" delete the line that looks like: Those are the "includes" that pull in the download features on to those pages. |
Beta Was this translation helpful? Give feedback.
-
Just add this CSS to your _custom.scss file (found in the _sass folder):
div.dt-buttons {
1.
2. display: none;
}
…On Tue, Mar 18, 2025 at 6:04 PM mrgamhong ***@***.***> wrote:
Thanks for your response.
I have implemented your solution and the download button has been removed
but the Excel and CSV buttons are still visible.
How can I remove them as well?
—
Reply to this email directly, view it on GitHub
<#147 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ACTM4GJ6ZOODJ3WASIPAPBT2VC7CJAVCNFSM6AAAAABY5DQKHWVHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTENJUGUYTQMI>
.
You are receiving this because you are subscribed to this thread.Message
ID: <CollectionBuilder/collectionbuilder.github.
***@***.***>
|
Beta Was this translation helpful? Give feedback.
Note, the Excel/CSV buttons on the datatable are for downloading the current view of the datatable (it will contain only what you have configured to display on the page, as filtered and sorted by the user).
You can remove that functionality by editing "_includes/js/table-js.html". Look for the lines:
and comment them out or delete,
The datatable won't add the buttons.