avoid details when activating button

avoid details when activating button

silenssilens Posts: 101Questions: 40Answers: 0

Hello, I have a table with a button in the first column, my problem is that when it becomes responsive, the button that shows the details appears and cancels the button that I created. when I click on my button, the details button is activated. How I can avoid this?

Answers

  • colincolin Posts: 15,240Questions: 1Answers: 2,599

    Hi @silens ,

    By default, as you can see in this example here, the button is prepended to the data in that first column. If yours is being overwritten, it's something specific to how that button is being created.

    Would you be able to modify that test case, or create your own, to show the problem.

    Cheers,

    Colin

  • silenssilens Posts: 101Questions: 40Answers: 0

    I could solve it by making a column only for the details button.

    {
                    "class":          "details-control",
                    "orderable":      false,
                    "data":           null,
                    "defaultContent": ""
                }
    

    in this way I do not have conflicts.

    Gracias

This discussion has been closed.