-
Notifications
You must be signed in to change notification settings - Fork 36
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
No border between rows, or bottom border when borders = Borders.LEFT_RIGHT #58
Comments
You're right, a simple way to do that is missing!
I'm thinking I could change it to So you could get what you want with outerBorder = Borders.ALL
header {
row("Column A", "Column B", "Column C")
}
body {
borders = Borders.LEFT_RIGHT
for (thing in things) {
...
}
} Does that seem like it would solve your problem? |
LOL you are the same author of both Clickt and Mordant! I picked up both of them separately and didn't realize they are from the same author. I was very surprised now to see two response to my last two issues on two totally unrelated repos - from the same user... Nice Work! Anyway back on topic, yes that seems like a good idea to me. But I would consider renaming the properties since the names are now becoming somewhat misleading:
|
@amirabiri I implemented this change. You should be able to get the output you want with something like this: tableBorders = Borders.ALL
header {
row("Column A", "Column B", "Column C")
}
body {
cellBorders = Borders.LEFT_RIGHT
for (thing in things) {
...
}
} I went with the names |
I am trying to get this table layout:
i.e I don't want borders between the rows, as in the default:
So I used
borders = Borders.LEFT_RIGHT
:What I get now is:
i.e the price is the bottom border.
The only way I found to overcome this is to do something really nasty:
Which I assume isn't what we want to demand from the user of the library...
So either I'm missing the really simple way to do this, or it's missing.
The text was updated successfully, but these errors were encountered: