Jump to content

AJAX sortable table


chrischen

Recommended Posts

  • 2 weeks later...

The sortable part would be 100% javascript. Unless you were using a backend in that case you can use the correct coding to display the results in the orders needed.

 

Example a dropdown menu is perfect for this as you can set the values different than what the visual display is. and then with php add to the end of your query "order by $_GET['dropdown_name'] ASC" that way when ajax calls the script its all in order as loaded into the div. Otherwise go to dhtmlgoodies.com they should have Table Widgets for you.

Link to comment
https://forums.phpfreaks.com/topic/100044-ajax-sortable-table/#findComment-518957
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.