First column disappear

First column disappear

bdtx400bdtx400 Posts: 3Questions: 1Answers: 0

I implement a zeo configuration test with my own data. The result is ok except that the first column of data disappear.

I have no js error and the data exists until the js is running.

The content of the first cell (first colum) is :
<td><a href="https://www.mysite?xtor=EPR-2" target="_blank" rel="nofollow noopener noreferrer">QST 2020-5</a></td>

Any suggestion to fix this problem ? Thanks.

Answers

  • kthorngrenkthorngren Posts: 21,173Questions: 26Answers: 4,923

    Sorry but that is not enough to go on to help troubleshoot. Please post a link to your page or a test case replicating the issue so we can help debug.
    https://datatables.net/manual/tech-notes/10#How-to-provide-a-test-case

    Does the column stay visible if you don't initialize Datatables?

    Use the browser's inspector tool to inspect the table to see if there are any classes assigned to the th that would cause it to be hidden.

    Kevin

  • bdtx400bdtx400 Posts: 3Questions: 1Answers: 0

    Does the column stay visible if you don't initialize Datatables? Yes

    here is a link to the page : http://randovelo.touteslatitudes.fr/test/

    When you sort the first column you get the values again.

    Thanks for your help. Even with the inspector I don't understand where is the problem.

  • bdtx400bdtx400 Posts: 3Questions: 1Answers: 0

    Ok I understand. The table is sorted as soon the table is displayed. So the values disappear as it exist some rows without a value in the first column.

    Does it possible to display the table without any automatic sort ?

  • kthorngrenkthorngren Posts: 21,173Questions: 26Answers: 4,923

    Does it possible to display the table without any automatic sort ?

    Use the order option to set the initial table order. The examples show how to have no ordering applied at initialization.

    Kevin

This discussion has been closed.