Reorder elements of an on-screen search

0

I have an application in django and need to reorder the elements of the screen when the user decides to sort by date, popularity, etc.

I would not like to submit a new search every time the user selects a filter, I believe the best way would be to just reorder the already loaded elements, perhaps using jquery, json.

I did not find any material that could help me, would you have any tips on how to implement or recommend a site?

    
asked by anonymous 31.10.2018 / 16:02

1 answer

0

Use a PivotTable for example: DataTables, Handsontable. They will do this job of sorting already with the present data and screen.

You have some good tutorials:

link

    
02.11.2018 / 03:26