Two Columns Group-by
Two Columns Group-by

Hi, I need use two columns on group-by
This link show one column group-by.....
https://datatables.net/extensions/rowgroup/examples/initialisation/event
sample group-by:
- Name
- Position
<
table id="example" class="display" style="width:100%">
<thead>
<tr>
<th>Name</th>
<th>Position</th>
<th>Office</th>
<th>Age</th>
<th>Start date</th>
<th>Salary</th>
</tr>
</thead>
<tbody>
<tr>
<td>Tiger Nixon</td>
<td>System Architect</td>
<td>Edinburgh</td>
<td>61</td>
<td>2011/04/25</td>
<td>$320,800</td>
</tr>
<tr>
<td>Garrett Winters</td>
<td>Accountant</td>
<td>Tokyo</td>
<td>63</td>
<td>2011/07/25</td>
<td>$170,750</td>
</tr>
Tks!
Answers
Hi @PauloGTO ,
You just need to set
rowGroup.dataSrc
as in the second example.Cheers,
Colin