Custom button double render with responsive modal

Custom button double render with responsive modal

noxidsoftnoxidsoft Posts: 5Questions: 2Answers: 0

Live test case here (put browser developer mobile view):
http://www.tr.qld.gov.au/otherApps/impoundments/2.0/

Click on plus sign, modal is good, it is the default responsive datatables view.

Click on "Image", you get the responsive datatables modal view show up twice, before and after the custom inline script call (loads an image).

The "Image" button must be in the first position. Would be happy with a workaround.

Many thanks.

This question has an accepted answers - jump to answer

Answers

  • colincolin Posts: 15,142Questions: 1Answers: 2,586
    Answer ✓

    Hi @noxidsoft ,

    This example should help - it shows how to put the '+' into a separate column.

    Cheers,

    Colin

  • noxidsoftnoxidsoft Posts: 5Questions: 2Answers: 0

    Thanks Colin, your suggestion worked. Because it was a dynamic (server-side) value, I did have to add an extra array element at the front, then make the necessary changes on the front-end as guided by your link (:

This discussion has been closed.