tablemaker
tablemaker copied to clipboard
Pass a class to automatic table output
It would be useful if {{ entry.myTableField.table }} would allow to pass a parameter which adds a class to the outputted table-element:
{{ entry.myTableField.table("className") }}
Good idea - I'll add it to the list!
+1 to this 👍
If I get time, it might be something I can create a PR for as we get further along in our current client project (will see!).
It would also be good if you could pass a class to individual columns as well as the whole table.