-
Notifications
You must be signed in to change notification settings - Fork 39
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
Feature request: add class to table header according to field type #657
Comments
AggregationTable::renderColumnHeaders() would be the place dokuwiki-plugin-struct/meta/AggregationTable.php Lines 231 to 235 in 7fe2cdf
|
Thanks Andi for the pointer! I did this (just for the records):
I picked this up again and it workes for me like this, because I need this for struct type user, right now. However, I would really find this useful for all headers (and all types). But, I don't know, how to do it. 😄 Cheers! |
And I replaced the line 367 here https://codesearch.dokuwiki.org/xref/plugin/struct/meta/AggregationTable.php#367 by the following three lines:
This puts the
... which hides the whole column. Any other CSS rules per column are possible, now. See here: https://forum.dokuwiki.org/d/22299-feld-vorbelegen-im-seriellen-editor |
I would like to add classes to table headers according to field type, e.g. dropdown, so I can reference columns when adding features to struct tables.
Could anyone please point me to the location in the code where those classes could be added? Thanks!
The text was updated successfully, but these errors were encountered: