dandelion / dandelion-datatables

Dandelion component for DataTables
http://dandelion.github.io/components/datatables/
Other
110 stars 49 forks source link

[CLOSED] AJAX: ColumnHead not working #148

Closed tduchateau closed 10 years ago

tduchateau commented 10 years ago

Issue by RizziCR from Friday May 31, 2013 at 15:44 GMT


On Server-Side processing ColumnHead not working. The resulting TH is empty.

JSP-Code <datatables:columnHead uid="massActionColumn"> <input type="checkbox" onclick="$('#companiesTable').find(':checkbox').attr('checked', this.checked);" /> </datatables:columnHead> <datatables:column uid="massActionColumn" property="id" sortable="false" searchable="false" cssCellStyle="text-align:center;" renderFunction="renderMassActionCol" />

the resulting html-code: <th class="sorting_disabled" role="columnheader" rowspan="1" colspan="1" aria-label=""></th>

greets Rizzi

tduchateau commented 10 years ago

Comment by tduchateau from Friday May 31, 2013 at 16:12 GMT

As mentioned in the docs - not very clearly - this feature is not supported yet with AJAX sources (the last column indicates the compatible source type).

Nevertheless, thx for reminding me :-)