I'm struggling to change the row height of my JSF datatable. Here's what I have:
<h:dataTable value="#{myBean.myValue}"
rowClasses="dt_row"
var="o">
</h:dataTable>
I've defined a css class called dt_row with a height of 10px, but it doesn't seem to be applying correctly. The generated page source looks fine:
<tr class="dt_row">
Any suggestions on why the row height isn't changing as expected?
Here is the code for my entire table:
<h:dataTable value="#{searchBean.searchResult.concordances}"
styleClass="table"
var="concordance">
<h:column>
<pre>#{concordance.left}</pre>
</h:column>
<h:column>
<pre style="color: blue;">#{concordance.middle}</pre>
</h:column>
<h:column>
<pre>#{concordance.right}</pre>
</h:column>
</h:dataTable>