colReorder- Datatable with horizontal scrolling

colReorder- Datatable with horizontal scrolling

polona81polona81 Posts: 5Questions: 1Answers: 0

Hello,
I have a problem using the drag & drop columns of a Datatable with horizontal scrolling. The scroll does not work, why?
Do you have any solutions?
Thanks

This question has accepted answers - jump to:

Answers

  • kthorngrenkthorngren Posts: 2,817Questions: 19Answers: 624
    Answer ✓

    I see the same issue. Put together a test case for @allan.

    http://live.datatables.net/yoritefa/1/edit

    Kevin

  • allanallan Posts: 46,595Questions: 1Answers: 6,507 Site admin
    Answer ✓

    I fear that's not something that ColReorder supports yet. I agree that I think it should and I've added it to my list.

    Regards,
    Allan

  • polona81polona81 Posts: 5Questions: 1Answers: 0
    edited August 2017

    Thank you for the reply kthorngren. The problem is when dragging and dropping columns away, like the last column to the first one. In this case, the sliderbar does not work.
    Thanks anyway

  • polona81polona81 Posts: 5Questions: 1Answers: 0

    Thank you Allan for your answer. I found a solution to be implemented in the dataTables.colReorder.js file (https://stackoverflow.com/questions/17789163/datatables-colreorder-scroll-when-header-scrolled-close-to-boundaries).
    In fact, the scroll bar works well, but when configuring "colReorder": {realtime: false}, ", the property details.to is incorrect.
    Thank you very much for having noted my request in your list.

    Simona

  • polona81polona81 Posts: 5Questions: 1Answers: 0

    Have you solved the problem?
    Are there any good news about solving the problem?
    Thanks so much

  • allanallan Posts: 46,595Questions: 1Answers: 6,507 Site admin

    No sorry. It is not something that I've attempted to tackle yet I'm afraid.

    Allan

Sign In or Register to comment.