• Resolved Mnemon

    (@mnemon)


    First, awesome plugin. I’m using this a ton on a website I created for a video game baseball league.

    Here’s the problem. I’m using the plugin to pull data from Google Sheets to create schedules and track stats for the league. In almost all instances it works flawlessly.

    But on the team pages for some reason it isn’t recognizing the header row and instead using the first line of information as the header. It doesn’t do this on other pages, including the ‘Master Schedule’ page that uses the exact same spreadsheet.

    Here’s a link to an example:
    http://traditionbaseball.net/teams/baked-bunnies/

    Here’s the master schedule pulling from the same spreadsheet and working fine:
    http://traditionbaseball.net/schedule-season-one/

    Code I’m using for the team page:

    [gdoc key=”https://docs.google.com/spreadsheets/d/1dJrI-FvCGIUKCFwH0xa3pgd-ld18EH-y-tJgHjGuCFs/edit#gid=0″ datatables_page_length=”25″ datatables_paging=”false” datatables_dom=”lfrtip” query=”Select * Where A = ‘Baked Bunnies’ or B = ‘Baked Bunnies'”]

    I’ve done everything I can think of from creating a new spreadsheet, turning filters on and off, adding or moving around columns, rebuilding the above code from scratch, etc.

    Any help would be great.

    Thanks!

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • I have the same problem, it’s not recognising the header.

    Plugin Author Meitar

    (@meitar)

    But on the team pages for some reason it isn’t recognizing the header row and instead using the first line of information as the header. It doesn’t do this on other pages, including the ‘Master Schedule’ page that uses the exact same spreadsheet.

    If the same code does two different things on two different pages of yours you almost certainly have a bug in a third place in your site’s code. Good luck finding it.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Table Not Recognizing Header?’ is closed to new replies.