Front-End Pagination With JavaScript

แชร์
ฝัง
  • เผยแพร่เมื่อ 18 ธ.ค. 2024

ความคิดเห็น • 57

  • @hammadhassan3085
    @hammadhassan3085 2 ปีที่แล้ว +1

    Works accurately and plus point is you have demonstrated modern pagination style.

  • @qirele8773
    @qirele8773 3 ปีที่แล้ว +1

    Thank you so much! Had a horrible time figuring out how to paginate a large amount of data for a school project, this really helped a lot!

  • @kanways8
    @kanways8 2 ปีที่แล้ว

    It's really usefull. Only video that teach advanced pagination

  • @AQW9111
    @AQW9111 2 ปีที่แล้ว

    Thank you very much! A very simple but still complex solution!

  • @henokkebede689
    @henokkebede689 ปีที่แล้ว

    I appreciate your help man. Thank you!

  • @ritaanene6414
    @ritaanene6414 2 ปีที่แล้ว

    this video really helped me a lot. Thanks

  • @lilialobato2611
    @lilialobato2611 3 ปีที่แล้ว +1

    thanks! really easy to understand and really usefull!!!

  • @mrmufy
    @mrmufy 4 ปีที่แล้ว +2

    Thanks.
    Can u tell me how i can set the current page with the active status highlight.

    • @joux1992
      @joux1992 4 ปีที่แล้ว

      if you want set the current page you can try this in the pageButtons function
      if (state.page == page) {
      wrapper.append(`
      ${page}`);
      } else {
      wrapper.append(`${page}`);
      }

    • @AntonyAllocious
      @AntonyAllocious 4 ปีที่แล้ว

      @@joux1992 I tried my end, am not able to succeed, can you share your code. Thanks in advance

    • @aacm1259
      @aacm1259 4 ปีที่แล้ว

      @@AntonyAllocious you need to put that IF where you create the buttons instead of what he had in the video, like this:
      for(var page = maxLeft; page

  • @匿名-x5m
    @匿名-x5m 2 ปีที่แล้ว +1

    Nice tutorial, but I still have doubts. While this implementation is working as expected in the frontend, the backend is still sending out large data. For example, if a user sends a request, it fetches 20,000 data. The user retrieves all these data, then the JavaScript performs its operation in the user end as shown in this video. Isn't it still defeats the purpose of pagination? Since the server side is still sending out large data (which can also lead to DDoS and higher memory consumption). Please correct me if I'm wrong.

  • @nguyenngochai3049
    @nguyenngochai3049 3 ปีที่แล้ว

    thank you so much, this just saves my day

  • @joux1992
    @joux1992 4 ปีที่แล้ว +2

    Thank you very much for this video.

    • @ernestzavier2377
      @ernestzavier2377 3 ปีที่แล้ว

      a tip: you can watch series on Flixzone. I've been using it for watching lots of of movies these days.

    • @kadedane5329
      @kadedane5329 3 ปีที่แล้ว

      @Ernest Zavier yup, been watching on Flixzone for years myself :D

  • @imaby.k
    @imaby.k 4 ปีที่แล้ว +2

    how to add searching with this pagination...please help

    • @rockstar007cool
      @rockstar007cool 4 ปีที่แล้ว +1

      Yess, dennis there is a video of yours in which you explained searching and here pagination.
      If you could create a video to do both together.
      Need to implement asap.
      And thanks your videos helps a lot.

    • @spitfire7914
      @spitfire7914 3 ปีที่แล้ว

      I need to make a project which gets data by searching via github api and then paginates those data.

  • @thesandman-f3l
    @thesandman-f3l 10 หลายเดือนก่อน

    How should I change the javascript to show the active button?

  • @naveenjoe892
    @naveenjoe892 3 ปีที่แล้ว

    Awesome work thanks! love it.

  • @jeremey2072
    @jeremey2072 2 ปีที่แล้ว +2

    Should be labeled "Front-End Pagination with jQuery" instead of "with JavaScript"

  • @pushpakfegade2770
    @pushpakfegade2770 3 ปีที่แล้ว +1

    Can you give coded lines as jQuery into javascript syntax.

  • @jhalakmaheshwari234
    @jhalakmaheshwari234 3 ปีที่แล้ว

    This is amazing! Thank You :)

  • @paulohsgoes1959
    @paulohsgoes1959 4 ปีที่แล้ว

    Excellent job!

  • @suli5293
    @suli5293 2 ปีที่แล้ว

    Amazing tutorial and an amazing coder, but I just wished if you started this from scratch so we can follow up

  • @benjaminch6292
    @benjaminch6292 3 ปีที่แล้ว +1

    Thanks so much! I love it

    • @samrey8134
      @samrey8134 3 ปีที่แล้ว

      you bet me to it by 4 weeks.

  • @pushpakfegade2770
    @pushpakfegade2770 3 ปีที่แล้ว +1

    I need the jquery syntax into Vanilla javascript can anyone provide it.

  • @nahida4444
    @nahida4444 4 ปีที่แล้ว

    can anybody please tell me if that jquery bit can be written in javascript? i m stuck with the onclick function

    • @pushpakfegade2770
      @pushpakfegade2770 3 ปีที่แล้ว

      i too want that did u get the current value of page i.e this.val() into javascript

  • @aguyoninternet9883
    @aguyoninternet9883 3 ปีที่แล้ว

    awesome dude!!

  • @dsadsa5008
    @dsadsa5008 5 ปีที่แล้ว +1

    thanks for video !! i love it

  • @karlrussellmenil9460
    @karlrussellmenil9460 3 ปีที่แล้ว

    Topic: Full stack javascript - Data Pagination and Filtering
    Good day,
    If I may humbly ask a little help, any hints, comments and suggestions are very much welcome, thank you in advance for all your help, please see question below, how do I code this?:
    /*
    Create the `showPage` function
    This function will create and insert/append the elements needed to display a "page" of nine students
    */
    /*
    Create the `addPagination` function
    This function will create and insert/append the elements needed for the pagination buttons
    */
    // Call functions

  • @ibrahimjomaa6548
    @ibrahimjomaa6548 3 ปีที่แล้ว

    thx for all♥

  • @АртёмЖуков-п2з
    @АртёмЖуков-п2з 4 ปีที่แล้ว

    Thanks for video
    how to do active page button?

  • @peteryu4353
    @peteryu4353 3 ปีที่แล้ว

    Can I use API with this?

  • @bikramchettri9405
    @bikramchettri9405 5 ปีที่แล้ว +1

    thanks for the video.

    • @DennisIvy
      @DennisIvy  5 ปีที่แล้ว

      My pleasure, thank you for watching :)

  • @i-am-oi
    @i-am-oi 5 ปีที่แล้ว +4

    Ivy could you please make another using just the arrow icons. Thanks

    • @DennisIvy
      @DennisIvy  5 ปีที่แล้ว +1

      I purposely didn't use arrow functions because I know a lot of people watching this still use the old JavaScript functions but I could do that. How about I re-write the code with arrow functions and attach it as another git repository. Would that help you?

    • @i-am-oi
      @i-am-oi 4 ปีที่แล้ว +1

      @@DennisIvy Sure, it'd definitely help. Thanks

  • @moody54324
    @moody54324 4 ปีที่แล้ว

    Do it with django api instead json variable.

  • @joedlopez2214
    @joedlopez2214 4 ปีที่แล้ว

    Thankyou Very Much !!

  • @lsagar
    @lsagar 4 ปีที่แล้ว

    thank you very much

  • @DiegoSantos-wo6rb
    @DiegoSantos-wo6rb 3 ปีที่แล้ว

    THANK YOU!

  • @noorrida8895
    @noorrida8895 4 ปีที่แล้ว

    Thanks a ton!

  • @bagasmendo4959
    @bagasmendo4959 4 ปีที่แล้ว

    THANKSSS BROOO, A LOT

  • @pazhyloiandkulg4wiystudios830
    @pazhyloiandkulg4wiystudios830 4 ปีที่แล้ว +1

    THANKS THANKS THANKS THANKS!!!!!!!!!

  • @Jagadish47
    @Jagadish47 3 ปีที่แล้ว

    I dont understand the code

  • @preeeby
    @preeeby 4 ปีที่แล้ว +1

    Thanks

    • @DennisIvy
      @DennisIvy  4 ปีที่แล้ว +1

      My pleasure :)

  • @Pareshbpatel
    @Pareshbpatel 3 ปีที่แล้ว

    {2021-09-07}

  • @yusufsAnt31
    @yusufsAnt31 2 ปีที่แล้ว

    Thanks

  • @LaltiDevi-o8x
    @LaltiDevi-o8x 2 หลายเดือนก่อน

    Thanks