Comments (12)
@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.
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.
@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.
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.
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.
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.
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.
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.
@SolidSnakeLive: You can use the tablepress-rowspan-all plugin as workaround.
from tablepress.
@TobiasBg Thanks for reply
@strarsis Thanks for info
from tablepress.
@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.
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)
- Can't save Auto Import Tables config HOT 1
- Function WP_Block_Type_Registry::register was called incorrectly HOT 2
- tablepress_rest_api:missing_capability:tablepress_edit_table HOT 7
- Help with translation HOT 3
- Freemius integration is doing heavy damage to wp_sitemeta meta_key fs_accounts HOT 5
- aria-role="link" in previous/next-buttons is redundant HOT 4
- check if file exists before attempting to unlink HOT 2
- Freemius Performance issue after upgrading to 2.1.5 HOT 3
- Error: Function is_search was called incorrectly... HOT 4
- Change Default Table Features for Site Visitors HOT 1
- No obvious way to disable/revert inline CSS loading HOT 1
- Fatal error: Compatibility issue with FS Edd Migration plugin HOT 8
- Resolve PHPStan issues HOT 12
- Oops! That page canβt be found. HOT 3
- Question: Accent neutralise HOT 1
- Tablepress text gets white when add links HOT 5
- TablePress CSS Loads even without a Table on page HOT 2
- Deprecation error from Freemius HOT 5
- TablePress and Elementor conflict after recent updates, preventing Elementor editor to load HOT 1
- Import of CSV: separation character determination fails HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tablepress.