Closed mikev-db closed 1 year ago
Interesting suggestion. However, I'm curious why it has taken so many years for anyone to ask for this. Makes me wonder if it is necessary. Is there a way to accomplish what you want without these classes? If so they are redundant and unnecessary.
Using things like :nth-child()
for styling is really all that is needed. I guess adding classes could make it "easier", but I'd argue not necessary.
@facelessuser I am using this in email templates, and gmail, outlook, etc do not support :nth-child()
. I could not find any other way to accomplish this. Thanks!
If you search through past feature requests you will see that I am generally resistant to adding features to the tables extension. The extension provides the most basic table support. For anything more than that, a third party extension should be used (of which there are many). As this is not necessary in the common case, I am not inclined to add it.
A new boolean option
set_css_classes
adds css classes to the table generation. These classes include row and columns counts and parity and will allow for more granular table styling.