Responsive expand icon is assigned to column 1, but the click event for it is still stuck incolumn 0

Responsive expand icon is assigned to column 1, but the click event for it is still stuck incolumn 0

tonykotonyko Posts: 13Questions: 7Answers: 0
edited August 2020 in Free community support

The responsive expand icon is where I want it to be in column 1, but the click event for it is the red X mark (in column 0). Basically the expand button only toggles when I click on the red X. It does not toggle when I click on the expand icon. Is there anyway I can get the click event to be where the actual expand icon is in column 1. Any help would be greatly appreciated.

Here is my code, i attached it in pictures so it is easier to see.


This question has an accepted answers - jump to answer

Answers

  • tonykotonyko Posts: 13Questions: 7Answers: 0

    Nevermind, I figured out the issue. targets inside responsive>details in the jquery datatable initilization should be 'target' and not 'targets'.

  • allanallan Posts: 61,650Questions: 1Answers: 10,094 Site admin
    Answer ✓

    Ah - well found. I didn't spot that myself! Good to hear you've got it resolved and thanks for posting back.

    Allan

This discussion has been closed.