Viewing 9 replies - 1 through 9 (of 9 total)
  • Plugin Author Meitar

    (@meitar)

    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

    (@pixelsophie)

    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

    Plugin Author Meitar

    (@meitar)

    It’s a shortcode. Put it where you want the spreadsheet to appear on your site.

    Thread Starter pixelsophie

    (@pixelsophie)

    Ok, it works in the options for class in global. Thanks it is solved!

    Thread Starter pixelsophie

    (@pixelsophie)

    With Shortcode it doesnt work in my case. It is not perfect yet but it works so: https://www.pixelsophie.de/sponsoren-fur-adventskalender

    the two option from you doesnt work.

    Thanks for helping me!

    Plugin Author Meitar

    (@meitar)

    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

    (@pixelsophie)

    Okay thanks a lot. It is possible to get also the color of the table lines?

    Plugin Author Meitar

    (@meitar)

    It is possible to get also the color of the table lines?

    No, all styling is determined by your WordPress theme.

    Thread Starter pixelsophie

    (@pixelsophie)

    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.