These css classes were applied in previous version of the <display:*> tag library. See the "now use" column for direction on how migrate your css to the new version (a quick task which will also improve the quality -and lower the weight- of your html output)
| class | was | now use |
|---|---|---|
| table | assigned to the main table tag | on class is assigned by default. You can add your own adding a "class" attribute to the <display:table> tag |
| tableRowAction | assigned to the tr tag of the action row (paging, export, etc...) | You can totally customize the html generated using properties, no css class is added by default |
| tableRowHeader | assigned to the tr tag of the header row |
Assign a style to
thead tr
element, you don't need a class. If you want this style to be applied only to the <display:table> simply add a class or id to the table tag and create a children rule in css like
table.myclass thead tr {color:red;}
|
| tableRowOdd | assigned to the tr tag of all odd numbered data rows | the name of the class is now simply "odd" |
| tableRowEven | assigned to the tr tag of all even numbered data rows | the name of the class is now simply "even" |
| tableCellAction | assigned to the td tag of all actions cells (paging, export, etc...) | You can totally customize the html generated using properties, no css class is added by default |
| tableCellHeader | assigned to the td tag of all header cells |
Assign a style to
thead th
element, you don't need a class. If you want this style to be applied only to the <display:table>, simply add a class or id to the table tag and create a parent.child rule in css like
table.myclass tbody th {color:red;}
|
| tableCell | assigned to the td tag of all data cells |
Assign a style to
tbody td
element. You don't need a class. If you want this style to be applied only to the <display:table>, simply add a class or id to the table tag and create a parent.child rule in css like
table.myclass tbody td {color:red;}
|