I am using JSF 2.2 and want to add some specific attributes to the datatable header row. The end result in HTML should look something like this.
<table>
<th my-attribute="myattributevalue"> Header Column </th>
....
Is this possible in JSF?
I am using JSF 2.2 and want to add some specific attributes to the datatable header row. The end result in HTML should look something like this.
<table>
<th my-attribute="myattributevalue"> Header Column </th>
....
Is this possible in JSF?
Use the
<f:passThroughAttribute/>
to set custom attributes. Theth
can be rendered by settingrowHeader="true"
on an<h:column/>