Coder Social home page Coder Social logo

grimmpp / sortable-and-scrollable-table-with-fixed-header Goto Github PK

View Code? Open in Web Editor NEW
4.0 4.0 0.0 401 KB

This is a HTML table widget which has fixed headers, is scrollable, the table columns can be sorted or it can be used as tree-table.

License: Apache License 2.0

CSS 8.63% HTML 25.75% JavaScript 65.61%
sortable scrollable fixed-header jquery html css treetable tree-table table

sortable-and-scrollable-table-with-fixed-header's Introduction

Sortable And Scrollable TreeTable With Fixed Header

The file scrollableTable.js creates a sortable and scrollable table with fixed headers for HTML webpages. It uses jquery and css.

Features

  • Table can be used as TreeTable
  • Table is scrollable
  • Table columns can be sorted (stable sort)
  • Own compare function for sorting can be defined.
  • Table content can be filtered (Parent nodes in TreeTable are displayed as well)
  • Table height can be optionally set statically (absolute value in px) or as function which dynamically adjusts the height of the table. (See example in index.html or treeTable.html)
  • By clicking on a row an event is sent which can be caught for data processing. (Only single selected row is implemented.)

Example

An example is implemented in index.html. You can just clone/download this repository and run it. No other dependencies are needed.

TreeTable Version

An example is implemented in treeTable.html.

sortable-and-scrollable-table-with-fixed-header's People

Contributors

grimmpp avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

sortable-and-scrollable-table-with-fixed-header's Issues

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.