Datatable row grouping
<p>I have a working datatable that is retrieving data from a file : </p>

<p><a href="https://i.stack.imgur.com/bGYIN.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/bGYIN.png" alt="enter image description here"></a></p>

<p>I want to group row, something like this :</p>

<p><a href="https://datatables.net/examples/advanced_init/row_grouping.html" rel="nofollow noreferrer">https://datatables.net/examples/advanced_init/row_grouping.html</a></p>

<p>My goal would to have my datatable to look like this, grouping row by the date (last column), but even looking at the code, I have trouble to make it work. I'd like some help to make that work if you could.</p>

<p>Here is the code of my datatable :</p>

<pre><code>$(document).ready(function() {
         $('#datatable').DataTable( {
         "ajax": "&lt;?php echo base_url()."assets/files/data/data.txt"; ?&gt;" ,
         "columns": [
            { "data": "etat" },
            { "data": "dest" },
            { "data": "message" },
            { "data": "exp" },
            { "data": "date" }
            ],
            "order": [[ 0, "desc" ]],
            "responsive": true
            } );
         } );
</code></pre>