GithubHelp home page GithubHelp logo

ckprod / table-drag-sort-resize Goto Github PK

View Code? Open in Web Editor NEW
11.0 11.0 6.0 312 KB

Dragging (drag'n'drop), resizing and sorting columns of html tables. Simple and small standalone javascript component.

License: MIT License

CSS 3.22% JavaScript 96.78%

table-drag-sort-resize's People

Contributors

ckprod avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

table-drag-sort-resize's Issues

Version 1.1

Thank you for this updated 1.1 version, however, I could not find any updated version in the Javascript library. Can you please double check or point me to the updated table-drag-sort-resize.js file ?

Resizing column when the header is fixed

Hello,

Thank you very much for previous feature. Really great work!
I am trying to have, in pure css, the table header fixed, i.e. that it does not move while the table body scrolls. I have been using a hint I found online to achieve that, which basically is:
table thead tr {
position: relative;
display: block;
}

table tbody {
display: block;
overflow: auto;
width: 100%;
height: 100%;
}

However, when doing so, resizing the column only affects the column in the header.
Can you try it on your side? If you have a workaround / solution, I would very much appreciate it!

Kind regards,
Jacques

Resizing columns in a fixed width table

Let me first congratulate you on your fine achievement in combining 3 key features. Excellent job! The first one I saw around like that.
So, everythign is working just fine, except that I would like to be able to resize columns while keeping the overall table width. Thus a column should gain/lose width to the detriment or benefit of another one.
I have looked at your code, but with lack of documentation, I am not sure what to change.
Could you implement this option?

Thanks,
Jacques

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.