Tabledrag is not hiding the correct columns

Created on 13 December 2010, over 13 years ago
Updated 24 January 2024, 5 months ago

Problem/Motivation

I've searched, but haven't found an issue for this. I'm not that good with JavaScript/jQuery so this might be me doing something wrong, but I can't see what.

I've tracked it down to the following problem: If the field, that gets the 'tabledrag-handle' prepended has a colspan, then the hidden column is not calculated correctly. The column that is one to the right of the column that should be hidden is hidden.

The markup of the table is fine, I've checked that without the tabledrag enabled. Also, if I replace the one field (the first one in the row) that has the colspan (2), with 2 regular fields each with colspan 1, everything works. That's what's lead me to believe this is actually a bug.

I can provide more info, of course, if that's needed.

Steps to reproduce

Proposed resolution

TBA

Remaining tasks

See patch in πŸ› Drupal.tableDrag: column span calculated wrongly for custom column Closed: duplicate
Write a fix
Review

User interface changes

API changes

Data model changes

Release notes snippet

πŸ› Bug report
Status

Needs work

Version

11.0 πŸ”₯

Component
JavascriptΒ  β†’

Last updated about 7 hours ago

Created by

πŸ‡©πŸ‡ͺGermany tstoeckler Essen, Germany

Live updates comments and jobs are added and updated live.
  • Needs issue summary update

    Issue summaries save everyone time if they are kept up-to-date. See Update issue summary task instructions.

Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.69.0 2024