Title: Modifying DOM
Last modified: August 24, 2016

---

# Modifying DOM

 *  Resolved [josiah820](https://wordpress.org/support/users/josiah820/)
 * (@josiah820)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/modifying-dom/)
 * Hi, I’m using this plugin at the following site: [http://www.josiahnusbaum.com/amches/?page_id=143](http://www.josiahnusbaum.com/amches/?page_id=143),
   and I can’t figure out how I can fix the plugin so that I can make the section
   with the “show/hide” buttons, and the part where the user can choose how many
   entries they want to see disappear? I have some experience with modifying the
   DOM on DataTables, but nothing that I know to try has worked so far…
    Thanks 
   for your help! Josiah
 * [https://wordpress.org/plugins/inline-google-spreadsheet-viewer/](https://wordpress.org/plugins/inline-google-spreadsheet-viewer/)

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

 *  Plugin Author [Meitar](https://wordpress.org/support/users/meitar/)
 * (@meitar)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/modifying-dom/#post-6106325)
 * From [this post](https://wordpress.org/support/topic/dont-show-csv-pdf-etc?replies=4#post-6839516):
 * > you will be able to customize which elements appear in your table through the
   > new `datatables_dom` shortcode attribute, which is passed to [the DataTables `dom` option](https://datatables.net/reference/option/dom).
   > The default value this plugin uses is `TC<"clear">lfrtip`. The `T` represents
   > [the DataTables TableTools extension](https://www.datatables.net/extensions/tabletools/),
   > which generates the CSV, PDF, and a few other buttons, while the `C` represents
   > [the DataTables ColVis extension](https://www.datatables.net/extensions/colvis/),
   > which generates the “Show/Hide Columns” button. So, to remove the TableTools
   > and ColVis buttons from your table, use a shortcode like this:
   > `[gdoc key="ABCDEFG" datatables_dom='lfrtip']`
 * As you may know, the drop-down menu for page length is represented by the `l`
   option. So, putting this all together for your desired effect, just add the following
   attribute/value pair to your shortcode:
 *     ```
       datatables_dom='T<"clear">frtip'
       ```
   
 * You can also go to the plugin’s settings screen where you can enter a perhaps
   more familiar JSON object to represent the default DataTables options for all
   your tables.
 *  Thread Starter [josiah820](https://wordpress.org/support/users/josiah820/)
 * (@josiah820)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/modifying-dom/#post-6106397)
 * That did it! Thanks so much!!

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

The topic ‘Modifying DOM’ 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

 * [dom](https://wordpress.org/support/topic-tag/dom/)
 * [Google Spreadsheets](https://wordpress.org/support/topic-tag/google-spreadsheets/)
 * [table](https://wordpress.org/support/topic-tag/table/)

 * 2 replies
 * 2 participants
 * Last reply from: [josiah820](https://wordpress.org/support/users/josiah820/)
 * Last activity: [11 years, 1 month ago](https://wordpress.org/support/topic/modifying-dom/#post-6106397)
 * Status: resolved