Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I have a table with 5 columns. On small screens I need to hide the first and last column. That works well. But the expand icon (and footable-toggle span) is placed in the first column. And that column is collapsed. I tried re-arranging columns. If I keep the first collumn in sight, the expand icon is there. Changing the Expandable column setting doesn't do anything. Please help?
Comment | File | Size | Author |
---|---|---|---|
#4 | footable-2387123-4-by-axel.rutz-Toggle-icon-only-in-first.patch | 1.88 KB | geek-merlin |
Comments
Comment #1
HansKuiters CreditAttribution: HansKuiters commentedComment #2
czigor CreditAttribution: czigor commentedSame issue here: the expandable icon is always in the first column, no matter what the setting is.
Comment #3
geek-merlinanalysis:
* current module marks toggler column by adding data-class="expand" to th
* current footable library (2.0.1.5) expects data-toggler="true" to th
note: data-class attribute is only needed for this which simplifies the patch.
Comment #4
geek-merlinUse the source, luke: Contrary to docs it's not data-toggle*r*, but data-toggle.
Patch flying in that worksforme.
Comment #5
Scott Robertson CreditAttribution: Scott Robertson commentedCan confirm that the patch in #4 works for me.
Comment #6
jonraedeke CreditAttribution: jonraedeke commented#4 Works for me too. Thanks!
Comment #8
Arkener CreditAttribution: Arkener as a volunteer commentedThanks everyone for the patch and the tests.