Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Move the columnHead tag inside the column tag #234

Closed
tduchateau opened this Issue · 1 comment

1 participant

@tduchateau
Owner

As suggested @rosko01 in #233, the datatables:columnHead should be moved inside the datatables:column tag as follows:

<datatables:column ...>
    <datatables:columnHead>
        <%-- column header markup goes here --%>
    </datatables:columnHead>
    <%-- column markup goes here --%>
</datatables:column>

It would allow the remove the uid attribute in both columnHead and column tags.

Moreover:

  • Both cssStyle and cssClass attributes of the datatables:column tag (intended to be applied to the corresponding header cell) should be moved inside the datatables:columnHead
  • Both cssCellStyle and cssCellClass attributes of the datatables:column tag (intended to be applied to all cells of a column) should be renamed to cssStyle and cssClass respectively
@tduchateau tduchateau self-assigned this
@tduchateau tduchateau added this to the 0.10.0 milestone
@tduchateau tduchateau referenced this issue from a commit
@tduchateau tduchateau Improved the ColumnHead tag mechanism (JSP)
The ColumnHead tag is now used inside the ColumnTag (closes #234 and fixes #233)
The uid attribute is no longer necesseray (both in column and columnHead tags)
Updated TLDs and cleaned code accordingly
79fb70a
@tduchateau
Owner

Finally, all css*Style and css*Class attributes have been left unchanged, mostly to avoid boilerplate code when just some style has to be applied to the column.

@tduchateau tduchateau closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.