-
Notifications
You must be signed in to change notification settings - Fork 122
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
Custom top and bottom table style #218
Comments
This is possible to do. Will try to get this implemented. |
The implementation is complex simply because this introduces a LOT of edge cases (literally). Just thought I'd let you know to not expect this soon. Will update this thread when I make some progress. |
Hey @manoelmozzer ... I honestly tried to make this customization work, but the more I worked on it, the more it felt like a lot of code quality/simplicity/maintainability had to be sacrificed to make this work. I have code that can stylize Title/Header/Rows/Footers all separately in their own individual styles. But this change required a bunch of backward-incompatible changes and a major version bump along with making the code really hard to read/reason/maintain. I'll leave this issue open, and if a lot more folks ask for this feature, I'll see what I can do. But for now, I'm gonna stop working on this. Sorry! 😞 |
No problem, thanks for your try. Anyway, your library is great. xD |
RST grid table can be rendered if this feature is implemented. |
First, thanks for the great library. It is excellent.
It would be nice to be able to customize the first and last rows of the table different from the middle ones.
From what I've seen,
MiddleHorizontal
(t.Style().Box.MiddleHorizontal
) controls the style of all horizontal lines. However, it would be nice to have independentTop
andBottom
options.These options could generate the following tables, which I didn't get in the current settings:
With this feature, custom styles would become more generic.
The text was updated successfully, but these errors were encountered: