Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(table): Allow/Enable special Header/Footer separator #365

Closed
Hipska opened this issue Mar 26, 2025 · 2 comments
Closed

feat(table): Allow/Enable special Header/Footer separator #365

Hipska opened this issue Mar 26, 2025 · 2 comments

Comments

@Hipska
Copy link

Hipska commented Mar 26, 2025

It would be nice to visually distinguish table footers and headers a bit more by enabling a specific separator.

Example

Default:

+-----+------------+-----------+--------+-----------------------------+
|   # | FIRST NAME | LAST NAME | SALARY |                             |
+=====+============+===========+========+=============================+
|   1 | Arya       | Stark     |   3000 |                             |
+-----+------------+-----------+--------+-----------------------------+
|  20 | Jon        | Snow      |   2000 | You know nothing, Jon Snow! |
+-----+------------+-----------+--------+-----------------------------+
| 300 | Tyrion     | Lannister |   5000 |                             |
+=====+============+===========+========+=============================+
|     |            | TOTAL     |  10000 |                             |
+-----+------------+-----------+--------+-----------------------------+

Light:

┌─────┬────────────┬───────────┬────────┬─────────────────────────────┐
│   # │ FIRST NAME │ LAST NAME │ SALARY │                             │
╞═════╪════════════╪═══════════╪════════╪═════════════════════════════╡
│   1 │ Arya       │ Stark     │   3000 │                             │
│  20 │ Jon        │ Snow      │   2000 │ You know nothing, Jon Snow! │
│ 300 │ Tyrion     │ Lannister │   5000 │                             │
╞═════╪════════════╪═══════════╪════════╪═════════════════════════════╡
│     │            │ TOTAL     │  10000 │                             │
└─────┴────────────┴───────────┴────────┴─────────────────────────────┘
@jedib0t
Copy link
Owner

jedib0t commented Mar 27, 2025

☹ looks like a duplicate of #218 - I'm sorry I've been putting this off for some time. Let me spend some time in April trying to get this running.

@jedib0t jedib0t closed this as completed Mar 27, 2025
@Hipska
Copy link
Author

Hipska commented Mar 27, 2025

It does indeed look like a duplicate, but there it is requested to have a different top and bottom border of the table.

I'm requesting a different bottom for the header and top for the footer..

Unless that would be incorporated when implementing that issue, it is not exactly the same and my use case isn't specifically mentioned over there..

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants