How to change the style of the lengthmenu and search box? Thanks

How to change the style of the lengthmenu and search box? Thanks

cchungcchung Posts: 3Questions: 1Answers: 0
                $('#tblABC').DataTable({
                    data: JSON.parse(data.d),
                    paging: true,
                    sort: false,
                    searching: true,
                    serverSide: false,
                    lengthMenu: [[10, 25, 50, -1], [10, 25, 50, "All"]],
                    iDisplayLength:10,

Answers

  • cchungcchung Posts: 3Questions: 1Answers: 0

    Sorry, I post the question to the title. My question is
    How to change the style of the lenthMenu and the Search box? I would like to make them larger and do not attached to the table.
    thanks

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

    Hi @cchung ,

    To detach them, see this example here.

    To make them larger, you could use CSS scale() - see here.

    Cheers,

    Colin

  • cchungcchung Posts: 3Questions: 1Answers: 0

    Thanks

This discussion has been closed.