Probleme with pagination

Probleme with pagination

MaloukMalouk Posts: 5Questions: 0Answers: 0

Hi,

I try to do something a little specific, everything works but I have a little CSS bug.

Can you help me please?

I put a link to my code.

https://jsfiddle.net/Maleku/ecj3fog6/12/

Thanks

Replies

  • tangerinetangerine Posts: 3,348Questions: 36Answers: 394

    You haven't explained what the problem is.

  • MaloukMalouk Posts: 5Questions: 0Answers: 0

    When using pagination, the color of the page doesn't change.

  • kthorngrenkthorngren Posts: 20,269Questions: 26Answers: 4,765

    Maybe you can provide more specifics like what you are expecting the color to change to, how you are trying to change the color, etc.

    Kevin

  • MaloukMalouk Posts: 5Questions: 0Answers: 0

    As far as pagination is concerned, normally when you change pages, the blue color should be on the current page, right?

    In my case it doesn't work, there is no visual indication for the user.

  • kthorngrenkthorngren Posts: 20,269Questions: 26Answers: 4,765

    Thanks for the clarification.

    One problem is you aren't loading all of the required Datatables BS4 integration files. specifically you are missing https://cdn.datatables.net/1.10.21/js/dataTables.bootstrap4.min.js. But you are also missing the files for Buttons and Select. You can use the Download Builder to get the proper files. Which is what I did for this updated example:
    https://jsfiddle.net/ya8gsL10/

    Looks like you are trying to do something with the paging element in drawCallback. I commented out that code for the example. Not sure what you wanted to do with the drawCallback code.

    Kevin

  • MaloukMalouk Posts: 5Questions: 0Answers: 0

    That's exactly right ! I've been on it for over a month :'(
    Oh thank you so much for your help !!

This discussion has been closed.