Code Monkey home page Code Monkey logo

Comments (3)

 avatar commented on May 31, 2024

I'm having this issue as well only I'm seeing it in chrome and ff. I'm using it with bootstrap and using their tabs. I'm also populating the table from my own ajax call to retrieve data before creating the table.

I have a project going live next week with this so any suggestions would be appreciated!

from footable.

bradvin avatar bradvin commented on May 31, 2024

When the one table is hidden, footable sees the width as 0 and the mobile breakpoint fires.
What you need to do is hook into the tab change event and raise the footable resize event on the table.

this demo : https://github.com/bradvin/FooTable/blob/master/demo-with-bootstrap.htm

shows how to get around this issue

from footable.

 avatar commented on May 31, 2024

Thanks so much! For some reason the .trigger method didn't work so I just called it in a timeout javascript function and that took care of it. Really appreciate the quick turnaround!

from footable.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.