How can I get the 8th column to show on a new line (additional text)?

How can I get the 8th column to show on a new line (additional text)?

max11max11 Posts: 1Questions: 1Answers: 0
edited May 2015 in Free community support

Hi

I am using the below code

    <script type="text/javascript" charset="utf-8">
    $(document).ready(function() {
        var table = $('#table').DataTable( {
                "ajax": {
                        "url": "../server_processing/view.php",
                        "type": "POST"
                        },
                "order": [[ 0, "asc" ]],
                "info": false,
                "ordering": false,
                "paging": false,
                "responsive": true,
                "serverSide": true,
                "searching": false
        } );
    } );
    </script>

The 8th column does not always contain data, but when it does I want it to generate a new line under the 2nd column (column 1). Is this possible? Can someone show me example code?

I try to show you here:

Col0 | Col1 | Col2 | Col3 | Col4 | Col5 | Col6 | Col7
James | James | James | James | James | James | James
James | James | James | James | James | James | James
              Col8: Smith
James | James | James | James | James | James | James
James | James | James | James | James | James | James
              Col8: Jones
James | James | James | James | James | James | James
James | James | James | James | James | James | James
              Col8: David
James | James | James | James | James | James | James
James | James | James | James | James | James | James
James | James | James | James | James | James | James

Hope it makes sense

This discussion has been closed.