django-endless-pagination | This project is deprecated please use https
kandi X-RAY | django-endless-pagination Summary
kandi X-RAY | django-endless-pagination Summary
This project is deprecated: please use https://github.com/shtalinberg/django-el-pagination
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of django-endless-pagination
django-endless-pagination Key Features
django-endless-pagination Examples and Code Snippets
Community Discussions
Trending Discussions on django-endless-pagination
QUESTION
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 ?
...ANSWER
Answered 2019-May-08 at 15:24I don't think you can use that logic for this. django-tables2 is a usefull plugin that acts on server-side, when Django renders the template.
For doing that infinite scrolling you must implement some javascript, doing the requests and adding html dynamically when user 'gets to the bottom'. I will not lie, it's not easy, but it's fun! x)
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install django-endless-pagination
No Installation instructions are available at this moment for django-endless-pagination.Refer to component home page for details.
Support
If you have any questions vist the community on GitHub, Stack Overflow.
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page