Coder Social home page Coder Social logo

scroll bar in treetable about jquery-treetable HOT 2 CLOSED

ludo avatar ludo commented on August 14, 2024
scroll bar in treetable

from jquery-treetable.

Comments (2)

ludo avatar ludo commented on August 14, 2024

Good question. What have you tried so far? I guess you just want to have the columns in the tbody part of the tree to have a scrollbar?

A simple overflow: scroll in the CSS has no effect, except when also applying display: block. That causes the columns in the thead and tbody to not have the same width so it looks ugly. If you don't have a header row this might be sufficient.

Have you tried any of the jQuery plugins that say they solve this problem? http://code.google.com/p/jquery-tbodyscroll/ for example?

I'll close this issue as it is not really a bug, but feel free to add a comment if you find a solution.

from jquery-treetable.

whogy avatar whogy commented on August 14, 2024

hi ludo
Sorry for the late response. As you said, I want to add scroll bar(horizontal and vertical) in the columns of the part of the tree.
I used the plugin you mentioned, and modified its' source because the plugin can not provide horizontal scroll bar. the misalign between thead and tbody add me a big problem indeed. because in my treetable, i am not sure the number of columns (the data is from different dataset in every request), so i can not specify the width at first. I think i need the table autoresize depend on the table content. I will try to find someother way to resolve it. but anyhow, thank you indeed for your hint and help.

from jquery-treetable.

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.