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}`); }
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.
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.
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
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?
Works accurately and plus point is you have demonstrated modern pagination style.
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!
It's really usefull. Only video that teach advanced pagination
Thank you very much! A very simple but still complex solution!
I appreciate your help man. Thank you!
this video really helped me a lot. Thanks
thanks! really easy to understand and really usefull!!!
Thanks.
Can u tell me how i can set the current page with the active status highlight.
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}`);
}
@@joux1992 I tried my end, am not able to succeed, can you share your code. Thanks in advance
@@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
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.
thank you so much, this just saves my day
Thank you very much for this video.
a tip: you can watch series on Flixzone. I've been using it for watching lots of of movies these days.
@Ernest Zavier yup, been watching on Flixzone for years myself :D
how to add searching with this pagination...please help
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.
I need to make a project which gets data by searching via github api and then paginates those data.
How should I change the javascript to show the active button?
Awesome work thanks! love it.
Should be labeled "Front-End Pagination with jQuery" instead of "with JavaScript"
Can you give coded lines as jQuery into javascript syntax.
This is amazing! Thank You :)
Excellent job!
Amazing tutorial and an amazing coder, but I just wished if you started this from scratch so we can follow up
Thanks so much! I love it
you bet me to it by 4 weeks.
I need the jquery syntax into Vanilla javascript can anyone provide it.
can anybody please tell me if that jquery bit can be written in javascript? i m stuck with the onclick function
i too want that did u get the current value of page i.e this.val() into javascript
awesome dude!!
thanks for video !! i love it
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
thx for all♥
Thanks for video
how to do active page button?
Can I use API with this?
thanks for the video.
My pleasure, thank you for watching :)
Ivy could you please make another using just the arrow icons. Thanks
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?
@@DennisIvy Sure, it'd definitely help. Thanks
Do it with django api instead json variable.
Thankyou Very Much !!
thank you very much
THANK YOU!
Thanks a ton!
THANKSSS BROOO, A LOT
THANKS THANKS THANKS THANKS!!!!!!!!!
youre welcome bro
I dont understand the code
Thanks
My pleasure :)
{2021-09-07}
Thanks
Thanks