Title: Removing Buttons
Last modified: August 22, 2016

---

# Removing Buttons

 *  Resolved [precisioncomputing](https://wordpress.org/support/users/precisioncomputing/)
 * (@precisioncomputing)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/removing-buttons-1/)
 * I really love this pluggin and it is almost giving me exactly what I require 
   but I would like to tidy up / remove the parts that I do not need.
 * I do some calculations for a league table in Google Sheet itself so its puts 
   the team with the most points on top. I would like to remove the Show entries,
   the show hide columns copy etc…
    All I want to utilise of this pluggin really
   is the nice way that it converts the Google Sheet into a ‘nice’ table format.
 * I would love to see the pluggin get some options within the WordPress Dashboard
   with tick button options to show or hide these options.
 * Other than that I am really impressed, will support this pluggin to get what 
   I need.
 * Cheers
 * [https://wordpress.org/plugins/inline-google-spreadsheet-viewer/](https://wordpress.org/plugins/inline-google-spreadsheet-viewer/)

Viewing 6 replies - 1 through 6 (of 6 total)

 *  Plugin Author [Meitar](https://wordpress.org/support/users/meitar/)
 * (@meitar)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/removing-buttons-1/#post-5577207)
 * If all you want to do is remove the extra features like the buttons and search
   field and so on, you can add the `class="no-datatables"` attribute value to your
   shortcode to accomplish that.
 * If you want to tweak which buttons appear or change the position of the search
   field and so on, you can do that as well but you have to use JavaScript to do
   it, as explained in the FAQ.
 * That all said, I agree a GUI for all these options would be nice, but I haven’t
   had the resources to devote to building one along with everything else I’m doing.
   As always, contributions of any kind or donations of any amount are welcome. 
   🙂
 * And I’m glad that, other than the lack of a GUI, the plugin serves your needs.
 *  [igecorner](https://wordpress.org/support/users/igecorner/)
 * (@igecorner)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/removing-buttons-1/#post-5577486)
 * It works, but after adding class=”no-datatables” css color on first row of the
   table disappears.
 * Please let me know how to overcome this.
 *  Plugin Author [Meitar](https://wordpress.org/support/users/meitar/)
 * (@meitar)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/removing-buttons-1/#post-5577487)
 * The “DataTables” option is a package; it imports JavaScript and CSS, so when 
   you remove it, you remove both. The CSS it imports is designed to work with the
   JavaScript features. If you don’t want the JavaScript features but you do want
   a specific kind of CSS styling, you’ll need to add the CSS styling yourself.
 * You can do that by editing your theme’s `style.css` file. This is discussed in
   more detail on [the plugin’s FAQ page](https://wordpress.org/plugins/inline-google-spreadsheet-viewer/faq/).
 *  [davidg1982](https://wordpress.org/support/users/davidg1982/)
 * (@davidg1982)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/removing-buttons-1/#post-5577586)
 * What if you don’t want to disable datatables all the way, but you want to just
   remove the buttons, but keep the search?
    I’ve spent time trying to figure this
   out, but I haven’t been able to get the buttons disable. At least, the code doesn’t
   work. I think I might have the wrong syntax.
 * I have tried
    datatables_buttons_defaults=”false” datatables_buttons_print=”false”(
   just to get one button to disappear) datatables_buttons=”‘print'” (just to get
   print to show by itself)
 * How do I translate the code from the datatables website into code for the plugin?
 *  Plugin Author [Meitar](https://wordpress.org/support/users/meitar/)
 * (@meitar)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/removing-buttons-1/#post-5577587)
 * > How do I translate the code from the datatables website into code for the plugin?
 * The DataTables documentation provides a listing of all options and their valid
   values. To use an option from the DataTables package on a table with this plugin,
   find the corresponding shortcode attribute (it’s almost always `datatables_OPTION_NAME`,
   where `OPTION_NAME` is the name of the datatables option; a full listing of supported
   datatables options and what their shortcode attribute is exists on the [Other Notes page for this plugin](https://wordpress.org/plugins/inline-google-spreadsheet-viewer/other_notes/))
   and then supply the value to the option as expected by datatables in the shortcode
   attribute value.
 * For example, the [Buttons extension documentation](http://datatables.net/reference/button/)
   reads:
 * > Buttons can be used through the buttons configuration object with dom used 
   > to specify where the buttons should be placed
 * The `dom` DataTables option maps, unsurprisingly, to the `datatables_dom` shortcode
   attribute, and it accepts a format string. So to use it to disappear the buttons,
   omit the `B` from the format string:
 * `datatables_dom="lfrtip"`
 *  [davidg1982](https://wordpress.org/support/users/davidg1982/)
 * (@davidg1982)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/removing-buttons-1/#post-5577588)
 * That works. Thank you.

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘Removing Buttons’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/inline-google-spreadsheet-viewer.
   svg)
 * [Inline Google Spreadsheet Viewer](https://wordpress.org/plugins/inline-google-spreadsheet-viewer/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/inline-google-spreadsheet-viewer/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/inline-google-spreadsheet-viewer/)
 * [Active Topics](https://wordpress.org/support/plugin/inline-google-spreadsheet-viewer/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/inline-google-spreadsheet-viewer/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/inline-google-spreadsheet-viewer/reviews/)

## Tags

 * [League](https://wordpress.org/support/topic-tag/league/)
 * [settings](https://wordpress.org/support/topic-tag/settings/)
 * [table](https://wordpress.org/support/topic-tag/table/)

 * 6 replies
 * 4 participants
 * Last reply from: [davidg1982](https://wordpress.org/support/users/davidg1982/)
 * Last activity: [10 years, 8 months ago](https://wordpress.org/support/topic/removing-buttons-1/#post-5577588)
 * Status: resolved