RowOrder Plugin support Ajax Source?

RowOrder Plugin support Ajax Source?

leandrozapataleandrozapata Posts: 2Questions: 1Answers: 0

Hi, i working with RowOrder plugin and would like to know if it support ajax source. Actually after drop the row, the new row order is reverted without final effects. Can you help me?

Answers

  • allanallan Posts: 61,920Questions: 1Answers: 10,153 Site admin

    This example shows RowReorder being using with an Ajax source.

    Keep in mind that ordering is still performed by DataTables. You need to have the data updated to match the ordering you now desire. RowReorder implements a data swap method to do that on the client-side.

    Allan

  • leandrozapataleandrozapata Posts: 2Questions: 1Answers: 0

    Is necessary use Editor plugin for post the new order to server and them retrieve it for render again? The plugin not support local ordering for ajax source withoud editor plugin?

  • allanallan Posts: 61,920Questions: 1Answers: 10,153 Site admin

    All of the RowReorder examples in its own section work without Editor. I linked to that one because it shows it being used with an Ajax source, which you specifically asked about. The data source is irrelevant to RowReorder though.

    Allan

This discussion has been closed.