Giter VIP home page Giter VIP logo

Comments (12)

strarsis avatar strarsis commented on June 1, 2024 1

@TobiasBg: The description "rowspan between thead and tbody" is misleading, the thead + tbody of Tablepress GUI is meant instead, the spanned rows have been moved as into the in final HTML.

You can download and try the plugin from the tablepress-rowspan-all repository.
With the plugin installed + enabled it is possible to use #rowspan# in the rows below the rows in thead.

There seems to be no easy way changing the backend GUI e.g. for adding new controls by plugin.

from tablepress.

TobiasBg avatar TobiasBg commented on June 1, 2024

Hi,

thanks for opening this issue! I see what you mean.
Unfortunately, I'll have to disappoint you here. This is not something that I have planned for TablePress at the moment.
I think that this would make the user interface and the integration of the DataTables JS library more tricky, and the rendering of the HTML code more difficult.

I'll therefore close this issue, to not raise false hopes. If someone wants to contribute such a feature, I'll gladly take another look, of course.

Best wishes,
Tobias

from tablepress.

strarsis avatar strarsis commented on June 1, 2024

@TobiasBg: I wrote an experimental plugin that also handles rowspan between thead + tbody to find out possible issues with them and everything works well.

DataTables, also the release shipped with Tablepress plugin,
already supports these "Complex headers" including sorting, without any issues.

The only thing that may should be added is the table-wide orderCellsTop DataTables option which
toggles whether the upper row should be used for sorting or the lower one.

from tablepress.

TobiasBg avatar TobiasBg commented on June 1, 2024

Rowspan between <thead> and <tbody> cells? That sounds strange. Or do you mean rowspan between multiple <tr>s in the <thead>?
Is that experimental plugin available somewhere?

from tablepress.

strarsis avatar strarsis commented on June 1, 2024

Ideally TablePress would offer a numeric input for the number of thead/tfoot rows and also visually highlight them (blue background) as currently with the first thead row.
This would also avoid the need for extra handling of rowspans between thead and tbody section in GUI.

from tablepress.

TobiasBg avatar TobiasBg commented on June 1, 2024

At the moment, I don't think that this is really necessary as a UI. I'd rather first make this reliably and robustly usable using a filter hook. Only if that's used by a significant number of people would a user interface make sense.

from tablepress.

SolidSnakeLive avatar SolidSnakeLive commented on June 1, 2024

Please allow this feature, I use first row for description and second row for filter
I tried to pass this command "orderCellsTop": false but it seems your code block it also the tick option that force first row -top- cells as header

from tablepress.

TobiasBg avatar TobiasBg commented on June 1, 2024

Hi @SolidSnakeLive,

as much as I would love to be able support this, there's no easy way at the moment, sorry :-( This would be very tricky to implement, as so much interaction with the DataTables JS library would be necessary. So, I don't think that this will be possible soon. Sorry for not having better news here.

Best wishes,
Tobias

from tablepress.

strarsis avatar strarsis commented on June 1, 2024

@SolidSnakeLive: You can use the tablepress-rowspan-all plugin as workaround.

from tablepress.

SolidSnakeLive avatar SolidSnakeLive commented on June 1, 2024

@TobiasBg Thanks for reply
@strarsis Thanks for info

from tablepress.

strarsis avatar strarsis commented on June 1, 2024

@TobiasBg: With 2.x lots of UI was added, nice!
Even the rowspan extension still works, which means backwards compatibility is still preserved.

Is with 2.x multiple rows/rowspan support possible/planned for the table header? 🐱

from tablepress.

TobiasBg avatar TobiasBg commented on June 1, 2024

Hi @strarsis,

good to hear that you like TablePress 2.0.

At this time, I don't have such plans though, sorry :-(

from tablepress.

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.