Search code examples
djangopaginationinfinite-scrolldjango-tables2

Is it possible to use django-tables 2 with infinte scroll?


I just started to write an application using Django 2 and the most recent version of django-tables2. So far everything works without any problems but now I have a question. I would like to display some data by using a sticky header and infinite scroll (so instead of having Page 1,2,3...,N at the bottom of the table I want to scroll down).

I checked several pages(including the official documentation of django-tables2 https://django-tables2.readthedocs.io/en/latest/index.html). But I didn't find any solution which do the trick. I was thinking of using django-endless-pagination(https://django-endless-pagination.readthedocs.io/en/latest/start.html#quickstart) in combination with django-tables2 but I am not even sure if this would work.

So my question would be is it possible to use infinite scroll with django-tables2 ?


Solution

  • So if someone else is looking for this the answer is NO.