Inverted Table

Inverted Table

m4rcsm4rcs Posts: 1Questions: 1Answers: 0

I want to build a table that scrolls horizontally and new data is added as new columns not as rows. When I omit the header table data tables doen't work anymore. Any ideas how to use data tables that way?

Answers

  • jLinuxjLinux Posts: 981Questions: 73Answers: 75

    This is actually a great question. I haven't thought about using DataTables in this way.

    Just curious, what are you using it for in this way?

    I don't have a solution for you, but I'm sure Allan has an answer. If there isn't a solution for this yet, be sure to add it as a feature request

    And if you cant use DataTables for this, my usual secondary failover is the jQuery plugin Hands On Table, very useful... You cant combine it with DataTables that I know of, but when I need something thats more like a Spread Sheet than a table (AND DT wont suffice), then I use HandsOnTable

  • allanallan Posts: 63,356Questions: 1Answers: 10,444 Site admin

    Currently no - it is not possible to dynamically add and remove columns from a DataTable at this time I'm afraid.

    Allan

This discussion has been closed.