details-control not visible

details-control not visible

dascocodascoco Posts: 9Questions: 4Answers: 0

I added child rows to my table and set the CSS for details-control like described

But the details-control isn't visible.
In Browser Dev-Tools I can see that CSS is applied correct to the element, the cursor also changes to pointer just the image isn't shown. When I set the CSS in Dev-Tools everything is shown correct.

Does anyone have an idea what could cause this problem? I also tried already to remove all other custom CSS.

Answers

  • kthorngrenkthorngren Posts: 20,276Questions: 26Answers: 4,765

    Did you provide the CSS that is shown in the CSS tab of the example? Basically you need to point to the location of the PNG files.

    Kevin

  • dascocodascoco Posts: 9Questions: 4Answers: 0
    edited May 2020

    Yes I use the CSS shown in the example, the location of PNG is correct.
    As I mention if I add the CSS in Dev-Tools with the same path of PNG it's working.
    That's why I don't understand it doesn't work.

  • kthorngrenkthorngren Posts: 20,276Questions: 26Answers: 4,765

    Styling issues are difficult to troubleshoot without seeing them. Are you able to provide a link to your page or a test case replicating the issue?
    https://datatables.net/manual/tech-notes/10#How-to-provide-a-test-case

    If you inspect the details-control column do you see the background: url... is enabled or overridden?

    If you look at the browser's network inspector tool do you see the PNG files loaded successfully?

    Kevin

This discussion has been closed.