how to change color of show entries drop down

how to change color of show entries drop down

tajtaj Posts: 20Questions: 5Answers: 0

Link to test case:
Debugger code (debug.datatables.net):
Error messages shown:
Description of problem:

This question has accepted answers - jump to:

Answers

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

    That's standard CSS

    div.dataTables_length select {
      color: green !important;
      background-color: blue !important;  
    }
    

    See example here,

    Colin

  • tajtaj Posts: 20Questions: 5Answers: 0

    Thanks @colin it works fine,
    one more help please tell me how to Limit data in column to fix length & show all data into tool tip.
    I have tried title as below but not working.
    , { targets: 4, className: "dt[-head|-body]-nowrap", title: 'testtt' }

    also in CSS added following stylesheet
    .dt-body-nowrap { white-space: nowrap !important; }

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

    Please don't duplicate questions. I answered here.

    Colin

Sign In or Register to comment.