I want to add some CSS style to my AUI RESTful table e.g. column width.
How can I do that? How can I add styling or CSS classes to a AUI RESTful table?
Any idea welcome!
Holger
Community moderators have prevented the ability to post new answers.
<style> #project-config-versions-table td { background: yellow; } </style> <table id="project-config-versions-table"></table>
In this case all cells in your table would have yellow background color. This way you can specify all styles you need.
I want to style a certain column, but that column has no id or name given. How to set e.g. width for column which contains an input field which id is "name"?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
If You know index of column - you can use this
#project-config-versions-table tr td:nth-child(2) { background: green; }
See more how it works here:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Yes, td:nth-child(2) works fine. Thanks a lot!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Page on which you have RESTFULL table should include your custom webresource which includes CSS file where you define custom styles.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.