0
I have an application in Django and need to reorder the screen elements when the user decides to sort by date, popularity, etc..
I would not like to submit a new query each time the user selects a filter, I believe the best way would be to just reorder the already loaded elements, maybe using jquery, json.
I couldn’t find any material that could help me, would have some hint on how to implement or some site recommendation?
Present an example of table and json... how you are populating it?
– Leandro Angelo
I haven’t done it yet, hj the application just searches the database, populates a
dict
and displays on the screen.– S_A