Title: Sorting like Google Doc Table
Last modified: August 30, 2016

---

# Sorting like Google Doc Table

 *  Resolved [pixelsophie](https://wordpress.org/support/users/pixelsophie/)
 * (@pixelsophie)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/sorting-like-google-doc-table/)
 * Hi,
    it is possible to make the order in the same who google doc? Not in alphabetic?
   Thanks a lot!
 * [https://wordpress.org/plugins/inline-google-spreadsheet-viewer/](https://wordpress.org/plugins/inline-google-spreadsheet-viewer/)

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

 *  Plugin Author [Meitar](https://wordpress.org/support/users/meitar/)
 * (@meitar)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/sorting-like-google-doc-table/#post-6556450)
 * Yes. Use the `no-datatables` class to disable DataTables features:
 *     ```
       [gdoc key="ABCDEFG" class="no-datatables"]
       ```
   
 * Or use `datatables_ordering` to control just the DataTables ordering (sorting)
   feature:
 *     ```
       [gdoc key="ABCDEFG" datatables_ordering="false"]
       ```
   
 *  Thread Starter [pixelsophie](https://wordpress.org/support/users/pixelsophie/)
 * (@pixelsophie)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/sorting-like-google-doc-table/#post-6556495)
 * Mhh. Thanks. Where i have to put these lines? In my case it doesnt work. This
   are mine:
    `[gdoc key=”[https://docs.google.com/spreadsheets/d/1OmlxW78eVNBo8D2IVH_yraeIBJnDb_fD1b2M2vZCxtY/edit?usp=sharing”%5D](https://docs.google.com/spreadsheets/d/1OmlxW78eVNBo8D2IVH_yraeIBJnDb_fD1b2M2vZCxtY/edit?usp=sharing”%5D)
 *  Plugin Author [Meitar](https://wordpress.org/support/users/meitar/)
 * (@meitar)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/sorting-like-google-doc-table/#post-6556496)
 * It’s a [shortcode](https://codex.wordpress.org/Shortcode). Put it where you want
   the spreadsheet to appear on your site.
 *  Thread Starter [pixelsophie](https://wordpress.org/support/users/pixelsophie/)
 * (@pixelsophie)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/sorting-like-google-doc-table/#post-6556497)
 * Ok, it works in the options for class in global. Thanks it is solved!
 *  Thread Starter [pixelsophie](https://wordpress.org/support/users/pixelsophie/)
 * (@pixelsophie)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/sorting-like-google-doc-table/#post-6556499)
 * With Shortcode it doesnt work in my case. It is not perfect yet but it works 
   so: [http://www.pixelsophie.de/sponsoren-fur-adventskalender](http://www.pixelsophie.de/sponsoren-fur-adventskalender)
 * the two option from you doesnt work.
 * Thanks for helping me!
 *  Plugin Author [Meitar](https://wordpress.org/support/users/meitar/)
 * (@meitar)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/sorting-like-google-doc-table/#post-6556500)
 * > With Shortcode it doesnt work in my case.
 * Maybe that’s because you haven’t applied either of the attributes I suggested
   to your shortcode. Your HTML is like this:
 *     ```
       <table id="igsv-1OmlxW78eVNBo8D2IVH_yraeIBJnDb_fD1b2M2vZCxtY" class="igsv-table" lang="de-DE" summary="Google Spreadsheet" title="" style="" >
       ```
   
 * Which means your shortcode is like this:
 *     ```
       [gdoc key="https://docs.google.com/spreadsheets/d/1OmlxW78eVNBo8D2IVH_yraeIBJnDb_fD1b2M2vZCxtY/edit"]
       ```
   
 * Now compare that shortcode with my suggestions:
 *     ```
       [gdoc key="https://docs.google.com/spreadsheets/d/1OmlxW78eVNBo8D2IVH_yraeIBJnDb_fD1b2M2vZCxtY/edit" datatables_ordering="false"]
       ```
   
 * Notice a difference?
 *  Thread Starter [pixelsophie](https://wordpress.org/support/users/pixelsophie/)
 * (@pixelsophie)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/sorting-like-google-doc-table/#post-6556517)
 * Okay thanks a lot. It is possible to get also the color of the table lines?
 *  Plugin Author [Meitar](https://wordpress.org/support/users/meitar/)
 * (@meitar)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/sorting-like-google-doc-table/#post-6556554)
 * > It is possible to get also the color of the table lines?
 * No, all styling is determined by your WordPress theme.
 *  Thread Starter [pixelsophie](https://wordpress.org/support/users/pixelsophie/)
 * (@pixelsophie)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/sorting-like-google-doc-table/#post-6556614)
 * Thanks a lot for helping me!

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

The topic ‘Sorting like Google Doc Table’ 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/)

 * 9 replies
 * 2 participants
 * Last reply from: [pixelsophie](https://wordpress.org/support/users/pixelsophie/)
 * Last activity: [10 years, 8 months ago](https://wordpress.org/support/topic/sorting-like-google-doc-table/#post-6556614)
 * Status: resolved