Skip to content
This repository has been archived by the owner on Oct 21, 2022. It is now read-only.

Add basic support for colspan in data cells #225

Merged
merged 4 commits into from
Sep 1, 2016

Conversation

jgibson
Copy link
Contributor

@jgibson jgibson commented Aug 8, 2016

Currently the toggling algorithm doesn't take into account colspans in cells within the data. This behavior leads to toggling of incorrect columns when dealing with both wide headers and wide data.

This PR corrects that issue for the simple case where data can have a colspan that is not larger than its corresponding header nor does it cross any logical column boundaries.

Note that I wasn't sure if I should update the dist directory or not, so I left it unchanged. I can update if that's the appropriate workflow for this project.

This allows data cells to have colspans, however a data cell can not span
multiple header columns.
@toddparker
Copy link
Member

@zachleat - can you give this a look next week?

@zachleat zachleat self-assigned this Sep 1, 2016
@zachleat zachleat merged commit dd5ca69 into filamentgroup:master Sep 1, 2016
@zachleat
Copy link
Member

zachleat commented Sep 1, 2016

@jgibson Thank you: this works great! And in so little code too! Really great work

@zachleat zachleat added this to the 2.0.4 milestone Sep 1, 2016
@zachleat zachleat mentioned this pull request Oct 10, 2016
@diganon diganon mentioned this pull request Jan 4, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants