How to get one column data on a click and storing the data in an array?

How to get one column data on a click and storing the data in an array?

sunnyazeesunnyazee Posts: 1Questions: 1Answers: 0
edited January 2020 in Free community support

I searched many times but all in vain there is not an authentic solution. Actually I want to get data of one column after the user reorders the rows and send it back to the Asp.net controller.

Answers

  • kthorngrenkthorngren Posts: 20,276Questions: 26Answers: 4,765
    edited January 2020

    get data of one column

    Have tried using column().data() to get the data? You can chain toArray() to convert it to a Javascript array.

    after the user reorders the rows

    Assuming you are using the RowReorder extension, use row-reordered to get the rows and send to the server.

    send it back to the Asp.net controller.

    Use jQuery API to send it to the server.

    Kevin

This discussion has been closed.