Code Monkey home page Code Monkey logo

Comments (14)

ricardozea avatar ricardozea commented on May 31, 2024

You might want to post your issue in Stackoverflow.com since you may need to post your code in order to get help.

I don't think your problem is really an issue _of_ the FooTable script but in your implementation instead.

from footable.

fizerkhan avatar fizerkhan commented on May 31, 2024

@rzea Thanks for the reply. I used simple Bootstrab tabs with tables

<ul class="nav nav-tabs" id="myTab">
  <li class="active"><a href="#table1">Leads</a></li>
  <li><a href="#table2">Contacts</a></li>
  <li><a href="#table3">Messages</a></li>
  <li><a href="#table4">Settings</a></li>
</ul>

<div class="tab-content">
  <div class="tab-pane active" id="table1">.
        <table><thead></thead><tbody></tbody>
 </div>
  <div class="tab-pane" id="table2">
          <table><thead></thead><tbody></tbody>
  </div>
  <div class="tab-pane" id="table3">
        <table><thead></thead><tbody></tbody>
  </div>
  <div class="tab-pane" id="table4">...</div>
</div>
<script>
  $(function () {
    $('table').footable();
  })
</script>

The active tab(table1) works correctly. But all other tab tables changed to Mobile Layout i.e some of fields are hided.

from footable.

mleisher avatar mleisher commented on May 31, 2024

Try https://github.com/mleisher/Horton/ (very similar to FooTable). It should work, but if it doesn't it will as soon as I can set up a test.

from footable.

bradvin avatar bradvin commented on May 31, 2024

@fizerkhan can you setup a codepen example reproducing the issue so I can see what is going on - i think it may be because the other tabs are hidden so the table width is being calculated to be 0 so FooTable thinks it needs the smallest breakpoint

from footable.

bradvin avatar bradvin commented on May 31, 2024

@mleisher are you going to hijack every thread here telling everyone to rather use Horton?

from footable.

mleisher avatar mleisher commented on May 31, 2024

Nope. All done now.

from footable.

bradvin avatar bradvin commented on May 31, 2024

get the latest code and check out the new demo-with-bootstrap.htm

it does exactly what you trying to do and the resizing issue is now also solved

from footable.

fizerkhan avatar fizerkhan commented on May 31, 2024

@bradvin Thanks. It works great.

from footable.

fizerkhan avatar fizerkhan commented on May 31, 2024

@bradvin When will be this feature be released or tagged?

Now I uses bower frontend package manager to install packages including FooTable. But Bower could not install the master branch, it works only on Tags. Your changes for this mobile layout is available in master and not yet released or taged. So every time i put bower install, code breaks. Now i coping latest code of footable manually. I will be helpful if you could release or tag this feature soon.

from footable.

bradvin avatar bradvin commented on May 31, 2024

v0.5 tag created

from footable.

fizerkhan avatar fizerkhan commented on May 31, 2024

Thanks mate.

On 01-May-2013, at 8:50 PM, bradvin [email protected] wrote:

v0.5 tag created


Reply to this email directly or view it on GitHub.

from footable.

fizerkhan avatar fizerkhan commented on May 31, 2024

@bradvin Unfortunately the version v0.5 is not semver standard. So bower is failed to fetch the recent tag.

bower/bower#449 (comment)

Can you change from v0.5 to v0.5.0?

from footable.

bradvin avatar bradvin commented on May 31, 2024

deleted v0.5 and added 0.5.0

from footable.

fizerkhan avatar fizerkhan commented on May 31, 2024

Thanks.

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.