Sortable rows

Sortable rows

handbuchhandbuch Posts: 55Questions: 0Answers: 0
edited October 2010 in General
Hello,

I got a Table, genereted out ofa JSON. In my DB there is a column called index. And now i display my items with datatables ,sorted by the index. I now need a sortable function like that: http://jqueryui.com/demos/sortable/

I just have a column with the values of the index and a icon, you can then sort it with drag on drop via that icon. Is there something for that?
That would be great! I also need to save it in the new order.

Already thanks for some answers.

Replies

  • allanallan Posts: 63,498Questions: 1Answers: 10,471 Site admin
    Yup would be nice to have that! But it's not a feature which is supported in DataTables just yet. There are some conversations about it in the forum (although I can't find them atm with a quick search) and it is possible to implement, but it's not as simple as setting a toggle flag just yet. A future plug-in option though.

    Allan
  • handbuchhandbuch Posts: 55Questions: 0Answers: 0
    Yeah i've read some dissucion and was hoping there is a good Plugin or something. Hmm okay. i Will do a workaround or something since i cant code a plugin with my knowledge. :) But thanks and keep up with datatables. :)
This discussion has been closed.