'How can I order a table in Django without refreshing the whole page?
There is a feature in a Django application I'm working on that allows users to search the database by things like customer name, invoice number etc. The search result is rendered as a Django table which gives an array of results with several columns such as "Expiry Date", "Product Name", "Issue Date" etc. My problem is however, that if I click on a column name (so that we can order the results as desired) the entire page gets refreshed and all the results are gone and the form has been cleared - which is definitely not what we want!
Is there a way to fix this using DJango? Or am I better off using another web application language for this feature? If so, which one?
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
