How to apply fnFakeRowspan at multiple columns based on different value at 2nd columns

How to apply fnFakeRowspan at multiple columns based on different value at 2nd columns

fc338339fc338339 Posts: 16Questions: 8Answers: 1
edited February 2016 in DataTables 1.10

I have a table #firstTable with 10 rows and 7 column as below
How to apply fnFakeRowspan() at 3rd to 7th columns (chp 1 to chp 5) based on different page number at 2nd column (page)

<table id="#firstTable">
  <thead>
    <tr> 
<th>name</th>
<th>page</th>
<th>chp 1 </th>
<th>chp 2 </th>
<th>chp 3 </th>
<th>chp 4 </th>
<th>chp 5 </th>
    </tr>
  </thead>
</table>



Answers

  • allanallan Posts: 63,498Questions: 1Answers: 10,470 Site admin

    The plug-in you mention is thirdparty software, so I'm not entirely certain on its inner workings, but my understanding is that it should just automatically combine any cells which have common data. Is that not working for you?

    Or is the issue that you want it to ignore certain columns?

    Allan

This discussion has been closed.