GithubHelp home page GithubHelp logo

Pagination about password-manager HOT 6 CLOSED

zeruniverse avatar zeruniverse commented on July 20, 2024
Pagination

from password-manager.

Comments (6)

BenjaminHae avatar BenjaminHae commented on July 20, 2024

I have the feeling that visible-id would not be necessary, I think it adds some complexity, but I can't put my finger on it.
Maybe we could just use a class filtered which is set for every row not fitting a criteria, then use jQuery to select the first 1..N of every row which isn't of this class and hide everything else?

A second solution would be to just keep an array of id's whose values match and then do the pagination from there on.

Probably the first solution is faster than the second one and I would hope faster than yours as we could use jQuery magic.

None of these solutions uses showtable so a third solution would be to purge the table every time we show something else and do the filtering just by creating subsets of accountarray which we then feed to showtable.

And now I'm sad I don't have time ;)

from password-manager.

BenjaminHae avatar BenjaminHae commented on July 20, 2024

Another solution is DataTables which claims to do exactly what we want with zero configuration.

from password-manager.

zeruniverse avatar zeruniverse commented on July 20, 2024

I can look into it when I have time

On Wednesday, 20 July 2016, Benjamin Häublein [email protected]
wrote:

Another solution is DataTables https://datatables.net/ which claims to
do exactly what we want with zero configuration.


You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
#64 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/AEbvNPIr3dXg-8aDoYCm8F5FUm0e7mtnks5qXeutgaJpZM4JQaqi
.

from password-manager.

zeruniverse avatar zeruniverse commented on July 20, 2024

@BenjaminHae I made some changes on functions you implemented. Please let me know if anything goes wrong.

from password-manager.

BenjaminHae avatar BenjaminHae commented on July 20, 2024

@zeruniverse If it's alright with you I'm going to reimplement the tag functions as I'm using them a lot and searching isn't the same.

from password-manager.

zeruniverse avatar zeruniverse commented on July 20, 2024

Sure. Actually it's easy. You just need to add all tag code back. And after
clicking tag filter or resetting, you refresh the datatable. To me it seems
datatable counts invisible entries (haven't verified yet), if it's the
case, maybe more work is needed.

On Tuesday, 9 August 2016, Benjamin Häublein [email protected]
wrote:

@zeruniverse https://github.com/zeruniverse If it's alright with you
I'm going to reimplement the tag functions as I'm using them a lot and
searching isn't the same.


You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
#64 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/AEbvNDJ3bp75WyKRds9QcDw4zV_8KbIoks5qeDqbgaJpZM4JQaqi
.

from password-manager.

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.