RowReorder the dataTable from the seconde column ?

RowReorder the dataTable from the seconde column ?

xulprintxulprint Posts: 3Questions: 2Answers: 0
edited December 2021 in RowReorder

Hello everyone,

Actually i am working on a new project i need to create a table, the first column gets the order number and the second has a button user can reorder the table from it

Answers

  • colincolin Posts: 15,112Questions: 1Answers: 2,583

    rowReorder.selector can be used to define the selector used to pick the elements that will start a drag.

    Colin

  • xulprintxulprint Posts: 3Questions: 2Answers: 0

    for the future,
    i found a solution to order the datatable from the second column

    "rowReorder": {
    selector: 'td:nth-child(2)'
    },

Sign In or Register to comment.