Jquery CDN Removes Buttons
-
Let me start with saying that the author of this great plugin tends to answer a lot of questions here with “RTFM”. Which is fine, I’m not paying him so he has no obligation to answer my questions.
I’m posting here in hopes that everyone reading this might help, even if the author has no time or inclination.
I did RTFM the best I can, however, I can’t find the answer. Also, the search here is terrible. Even also using Google with putting in to only search this URL didn’t help.
Now on to my problem:
I’m using tabs to display several sheets. When doing that, it messes up the formatting of all the tabs except for the first one displayed. This was mentioned in another thread here and the solution given was rather cryptic to a non-programmer but I did find out how to fix it.
However, to fix it requires I add the following to my page:
<script src=”https://code.jquery.com/jquery-3.3.1.js”></script>
Adding that to the page removes the buttons. The Column visibility, Copy, CSV, Excel, PDF, and Print buttons vanish.
So, I thought maybe this is a DataTables issue and I should be posting in that forum. However, I have another page with DataTables that doesn’t use Inline Google Spreadsheet Viewer and those buttons don’t vanish when I add the jquery link.
So it is looking to me like an Inline Google Spreadsheet Viewer issue.
I can be wrong and if it is all my fault, I apologize.
Oh, while I’m here, I also want to remove all the buttons except for Column visibility. I can do that using display:none on each of the other button’s CSS, I guess, but I was wondering if there was a simple way to do that which could be explained to a non-programmer (i.e. the exact line(s) to enter and where to enter it, not just telling me to use a function or saying to somehow use DOM=lftir).
I suppose I could figure out a way to just make my own Column visibility button and ignore the fact the ones that come with this plugin vanish with jquery, if answering my question(s) is too much trouble. However, it does seem like there is a bug here. Also, my button would probably not be as nice.
Anyway, sorry I made this so long and thank you in advance for any assistance and, to the author, thank you for this wonderful plugin.
The page I need help with: [log in to see the link]
- The topic ‘Jquery CDN Removes Buttons’ is closed to new replies.