I want the code for changing the theme of the datatables

I want the code for changing the theme of the datatables

jamujamu Posts: 20Questions: 11Answers: 0

if i click the button the theme of the datatable will be changed. pls give the code.

This question has an accepted answers - jump to answer

Answers

  • allanallan Posts: 63,455Questions: 1Answers: 10,465 Site admin
    Answer ✓

    I'm not sure what you mean I'm afraid. What theme are you referring to? Are you using Bootstrap, Foundation, something else?

    Allan

  • jamujamu Posts: 20Questions: 11Answers: 0
    edited August 2018

    i want change the color of the table . when i click the button its change the table color automatically . for the following code
    link: http://live.datatables.net/xowewize/1/edit

  • allanallan Posts: 63,455Questions: 1Answers: 10,465 Site admin

    I'm still not really getting what you want I'm afraid. I don't see a button to change the colour of the table there or any code that you've attempted to use to change its colour.

    From what you say I would suggest you add a class to the table element based on whatever colour it is that you want it to change to.

    Allan

This discussion has been closed.