Git Product home page Git Product logo

Comments (5)

jpatel3 avatar jpatel3 commented on July 21, 2024

@pypetey Were you able to resolve it? I am running into the same issue.

from django-endless-pagination.

pypetey avatar pypetey commented on July 21, 2024

Yeah, I got that resolved. I'll try to find my code somewhere. I had to modify endless pagination js file to append the data to correct container (table body)

from django-endless-pagination.

jpatel3 avatar jpatel3 commented on July 21, 2024

@pypetey Can you post the snippet or the steps? I have following setup -

{% load endless %}
{% paginate 4 sample %}
{% for item in sample %}

{{item.name}} {{item.date}} {% endfor %} {% show_more "Show More" %}

However the show more comes outside of the table and upon scroll it adds the next set of values on top of the table and outside.

from django-endless-pagination.

pypetey avatar pypetey commented on July 21, 2024

Check this gist:
https://gist.github.com/pypetey/3d87a4a642982615439e

It has list, list_page.html files and js file to override.
Notice settings.useTables in endless-pagination.js

from django-endless-pagination.

pypetey avatar pypetey commented on July 21, 2024

You might need to adapt it to your project :)

from django-endless-pagination.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.