[Answer]-Django pagination and Ajax queries

1๐Ÿ‘

โœ…

  • One solution would be that you put the pagination part in a <tr> but change the visualization as you would like (e.g. only 1 <td> or spanning multiple columns etc.)

  • Another solution would be you change your Calls_list.html to return complete <table> tag and put pagination part out of table in a separate <div>.

  • Third option could be return JSON of rows data along with pagination data. Then just update the existing table rows and pagination html.

๐Ÿ‘คRohan

Leave a comment