In this article, you will learn how to create ajax pagination with laravel 5. Caring for seniors in their own homes. Ajax Pagination on Your will load only the specific part rather than all pages items. In the examples above, I am simply alerting the returned data. It can be used to divide long lists or areas of content into multiple seperate pages, load paged content with pre-calculated database offset-parameters via Ajax and anything with full control to adapt the style properly to your site-layout. NET Grid View (ASPxGridView) supports endless paging mode, which allows grid rows to load on demand. For the demonstration purpose, we will retrieve the posts data from the MySQL database and list in the web page. Let’s take an example. Introduction. ,using jQuery. We will use yajra datatable to list a records with pagination, sorting and filter. This can generally be seen as an alternative method to pagination for displaying a large table in a fairly small vertical area, and as such pagination has been disabled here (note that this is not mandatory, it will work just fine with pagination enabled as well!). Editable select box 987. net MVC 3 In this post we will be discussing how to do ajax based server side data paging with dataTables. It's very easy to implement pagination in CodeIgniter as it has default Pagination class to implement pagination but it's not user friendly. We are going to cover many of the most common use cases that revolve around the Angular Material Data Table component, such as: server-side pagination, sorting, and filtering. It has been suggested that a headless browser may be used to index content provided by Ajax-enabled websites, although Google is no longer recommending the Ajax crawling proposal they made in 2009. js plugin) toastr JS(Jquery notification popup box example using toastr JS plugin with demo). Background. JQuery has an inbuilt json data type for Ajax and converts the data into a object. However, you don't always have pages with the same number of rows. So onto the implementation of server side paging with DataTables. Use this tool to view data in your table, add rows. Net with C# and VB. In this tutorial I would like to go over an easy way to display your database data with jQuery using Ajax and pagination. pagination is recommended when you have lots of data coming from database or external sources and you want to show data which do not fit into a single because it looks ugly and irritating to scroll down the page at bottom. Caring for seniors in their own homes. dataTable(). XML is rarely relevant, but when developing web applications, we use AJ to do asynchronous things such updating a page, making actions, etc. After lot of work and with the help of the community we now have a wide range of methods for obtaining data. This data will update automatically as any additional data is loaded. So, by using this tutorial you can make simple application in which can live search mysql data, sort tabular data and pagination link in Laravel framework using Ajax. i am using jquery plugin data table in asp. we can build ajax create read update and delete records in laravel 5. NET Preventive Action and Scheduled Tasks In ASP. NET MVC Part 2: integrating jQuery DataTables with our Ajax call This follows part 1. 0, using datatables can be approached much more elegantly with help of a @ViewScoped managed bean. jQuery makes it very easy to send Ajax requests. Do not forget. Flexigrid is very popular HTML table grid. To do so with a prefilter is quite simple:. Then after we have write Jquery code for fetch data with pagination link from Ajax_pagination. DataTables is a jQuery plugin which makes easier to add pagination on the webpage. NET and FXCop Static Code Analysis For ASP. Ajax Load More offers a free extension that adds compatibility with various field types for Advanced Custom Fields. Net MVC Razor. Ajax datatable - a2zsoftwarez. jui_datagrid is an Ajax-enabled jQuery plugin, useful to manipulate database data in tabular format. PHP CRUD with Search and Pagination using jQuery AJAX. A pagination help us to load few records every time, that way can not broken web page due to lots of data. After Learning Simple CRUD (Create, Read, Update, Delete) operation in Laravel 5. First let us create an user table with the following simple query in MySql Server and enter some dummy records in it. Pagination is used to divide the data or content into multiple pages which makes a page to load faster and the user can read the data without scrolling. For further and more complex examples of using server-side processing, please refer to the server-side processing examples. Angular Datatable module help to create beautiful grid listing in your angular application using angular directive. I have created a csv file and stored it in Project/App_Data folder. you can easily use jquery ajax datatables in your codeigniter project. Response headers can contain valuable information and may help to keep your API responses simpler by separating the actual response data from accessory metadata. In this article, we are going to learn how to use Client side Grid (DataTables Grid) with ASP. Here Mudassar Ahmed Khan has explained with an example, how to implement Client Side Paging (Pagination) using Entity Framework and jQuery in ASP. Learning jQuery Fourth Edition Karl Swedberg and Jonathan Chaffer jQuery in Action Bear Bibeault, Yehuda Katz, and Aurelio De Rosa jQuery Succinctly Cody Lindley. we will create paginate using laravel 5. With pagination, you can divide the large list of records into multiple pages. Virtual Scrolling and Paging. This is a simple use. For the demonstration purpose, we will retrieve the posts data from the MySQL database and list in the web page. The Grid View automatically splits large content across multiple pages and provides a built-in pager that enables end-users to navigate through data. Note you don't have to call DataTable first before calling your ajax, The table needs data to be fed into the table body. Maintain selected on server side. I need the Next, Previous, First and Last buttons to also fire the same ajax call, but with different page numbers, as the back-end interceptor depends on the page number. Simply follow the below steps to implement the same. The table options are defined in jQuery. The main methods, ajaxForm and ajaxSubmit, gather information from the form element to determine how to manage the submit process. As a result, only the Grid is updated. iSortCol_(int) – Column being sorted on (you will need to decode this number for your database). In short a simple jQuery Ajax JSON example in Asp. 8 with file upload, Now we have start learning advance level Crud Application in Laravel 5. I can't even count how many customers complained about paging tables that were elated on the return to scrolling. To do this, you can set your functions as listAction, updateAction, createAction, deleteAction in jTable definition code as shown in this demo. It is created using Eclipse IDE and the technologies I have used are JSP, jQuery, AJAX, JSON and MySQL. 4 - uncompressed, minified Themes: black-tie blitzer cupertino dark-hive dot-luv eggplant excite-bike flick hot-sneaks humanity le-frog mint-choc overcast pepper-grinder redmond smoothness south-street start sunny swanky-purse trontastic ui-darkness ui-lightness vader. This is often used to show additional information about a row, particularly when you wish to convey more information about a row than there is space for in the host table. In the previous tutorial, you implemented a set of web pages for basic CRUD operations for Student entities. Vue search and pagination only render viewed data in the table. jQuery and Ajax. I was trying to find the best way to display results on my page via an Ajax call using jQuery, do you think the best way is to pass it as JSON or plain text? Yes you are right. jQuery DataTable gives ajax interface to us for custom ajax operations. i am using jquery plugin data table in asp. DemoDataTable. ajax() method so that it shows all records. Today, i will show you how to create ajax crud module with bootstrap modal & pagination in laravel 5. In this example, we are creating jQuery AJAX functions for sending CRUD action request. Both of these methods support numerous options which allows you to have full control over how the data is submitted. NET Web API. jQuery Pagination Ajax PHP MySQL. Save row data using input. DataTables example Ajax sourced data DataTables has the ability to read data from virtually any JSON data source that can be obtained by Ajax. All we know, that when we facing with necessarity to display large amount of data – we starting thinking about adding pagination. Tutorial » Add a pagination to DataGrid This example show how we can load data from server and how to add a pagination to datagrid. And in this case – each page contain some part of our information. It's just that simple. Ajax functionality. In this post I'll explain how to perform simple ajax paging on the server side using ASP. DataTables custom pagination plug-in example Preamble The two default pagination styles that DataTables comes with are great for basic tables, but you might which to add extra customisation or a bit of 'glitz'. In this lesson, we will show you how to add a pagination action by clicking on the "Next" button and extract from all available pages. In the examples above, I am simply alerting the returned data. A prefilter is a way to modify the ajax options before each request is sent (hence, the name prefilter). Ajax data paging with dataTables. In any web project, pagination functionality is an essential part where huge numbers of records are listed from the database. < title >DataTables example - Alternative pagination html " >Pipelining data. jQuery Datatable listing Example with JSON Data. Searching: Search feature is not available in WebGrid. 6 links() helper. Please note that this is just an example script using PHP. With the help of tags we specify head and body of the table to dataTables plugin. Today, i am going to share with you how to use jQuery datatable plugin in php mysql project. Pages can be changed by clicking on the page indicators in the footer. Pagination is a very basic requirement of every project like Admin Panel, ERP or back-end Panel. Load pagination data 457. For anyone who is lik. using jquery datatable for server side processing with paging, filtering and search DataTables-ASP. Rest service help to get json data from database and use javascript to processed Rest response data as jQuery datatable required in data format. Server-side processing is enabled by setting the serverSide option to true and providing an Ajax data source through the ajax option. Paging, Sorting , Searching is very important when you are working with huge records. By utilizing Ajax Load More public and callback JavaScript functions you can create an intuitive filtering engine that adjusts shortcode parameters with the click of a button. Now you've learned how to capture a list of items and capture data from each item page , you are ready to extend the scraping to capture data from multiple pages. This tutorial will show you how to generate pagination using Codeigniter. The main methods, ajaxForm and ajaxSubmit, gather information from the form element to determine how to manage the submit process. ajax pagination in asp. The tutorial. The example below shows DataTables loading data for a table from arrays as the data source (object parameters can also be used through the columns. This tutorial will explain about implementation of Bootstrap DataTable with server side script. NET Web API. We can show data in tabular format with sorting and paging as inbuilt features. in this file we will write code for display data and jquery ajax code. jQuery Datatable Remote pagination with Spring MVC / SpringData a very nice fully functional javascript datatable with pagination, searching, sorting, etc. You may also be interested in DataTable CRUD Example using Codeigniter, MySQL and AJAX. The DataTables Content Delivery Network (CDN) is a permanent store of the software released as part of the DataTables project for you to use on your site without needing to host it yourself. TL;DR - Server-side paging of table data is not only faster and more responsive, but very easy to implement with PetaPoco and DataTables. 5 example, laravel 5. In this tutorial, I show how you can implement. git or install from npm:. In this article we'll. The scroll logic is based on lrInfiniteScroll. Pagination will using jsonp to send requests while URL is file, HTTP or HTTPS protocol, otherwise Ajax. The main methods, ajaxForm and ajaxSubmit, gather information from the form element to determine how to manage the submit process. Prerequisites For the purpose of this Laravel pagination example, I assume that you have a Laravel application installed on a web server. The goal of this article is to display news articles to a user. In this tutorial we are going to see how to implement CakePHP 3 Ajax Pagination Using Datatable, jQuery, MySQL and Bootstrap 3. i list step to create ajax pagination with laravel 5. With Datatable you can easily implement pagination on the webpage in less time. We will display pagination. BeginForm helper portion as the class Ajax should be enough to understand that it will post the model back to controller action via Ajax, which means that whole will not refresh i. Its basically fetching rows through an ajax call and in this ajax call, I send the search params that the user selects and the page number required. php lazy scroll example, jquery php mysql infinite scroll, facebook like infinite scroll using jquery ajax php and mysql, auto load more data on page scroll with jquery & php, infinite scroll pagination jquery php, tutorial infinite scroll jquery ajax demo. Laravel solves almost all the complex logic for us and save the time. The example below shows ajax. If you're looking for solution to implement ajax pagination with PHP and MySQL, then you're here at right place. NET 17 December 2014 Comments Posted in ASP. You can familiarize with the basic paging capabilities of Telerik RadGrid from this online example. In this installment, we'll examine a cool Laravel AJAX CRUD Tutorial. Paginated content exists throughout the web. It is created using Eclipse IDE and the technologies I have used are JSP, jQuery, AJAX, JSON and MySQL. 2 and Bootstrap 3 were used). DataTables has hundreds of other features which can spice up your web pages in no of different ways. A simple, cross-browser, AJAX-enabled jQuery pagination plugin which helps you generate easy-to-style pagination links for long web content. 8 by using Ajax with jQuery DataTables and Bootstrap Modal. Our Grid includes built-in data binding logic is designed to support various data sources and to handle large data sets. This tutorial will show you how to generate pagination using Codeigniter. net MVC 3 In this post we will be discussing how to do ajax based server side data paging with dataTables. We are implementing the three types of responsive Datatables methods in this tutorial. Bootstrap Data Table supports sorting, pagination and searching on records in table. ajax() method and binding GridView but i have few quest. NET MVC This article gives you details about how you can implement jQuery AJAX calls to ASP. Today, i am going to share with you how to use jQuery datatable plugin in php mysql project. Vue search and pagination only render viewed data in the table. I'm currently using client-side pagination, but data in my tables are growing a lot, and loading in ASP. By Jeff Boes May 24, 2012 Here’s a common problem: you have a set of results you want to display (search results, or products in a category) and you want to paginate them in a way that doesn’t submit and re-display your results page every time. In this tutorial, i want to share with you create jquery ajax crud operations application using datatable js, modals in laravel 5. Shortcodes from 3rd party plugins (for example, Visual Composer) will not work properly. Pagination is a crucial part of any website, especially if you have hundreds of database records that you want to group and display them as pages, and in modern days with the help of Ajax you can create pagination that doesn't require any page reloading, users can stay in same page and navigate through vast numbers of records on fly. It supports paging, sorting, selecting, master/child tables, show/hide/resize columns, localization, themes and more. authorization. You do, however, need to assign the data source and rebind the grid after any data operation such as paging, sorting, editing, and so on. Complete laravel ajax CRUD, search, sort and pagination This is an example of AJAX but a BAD example of a controller. This example shows the DataTables table body scrolling in the vertical direction. Bootstrap Pagination. An example DataTable_DataTable implementation which loads data from a csv file. NET MVC application. Here Mudassar Ahmed Khan has explained with an example, how to implement Paging (Pagination) in ASP. My previous example of filtering a table was pretty basic. Easy pagination solution with jQuery and Ajax. You may also like Simple Pagination With PHP And MySQL. client side paging in asp. Pagination provides the user with a natural break from reading or scanning the contents of the dataset, and allows them to re-evaluate whether they wish to continue looking through more data, or navigate away from the page. Creating Pagination with Bootstrap. Ajax Pagination is most helpful to display set of. Jamie Shields dives into effective pagination techniques with jQuery and Ajax in PHP using the Silex framework for the sake of simplicity. This example shows the rendering engine version combined with the rendering engine name in the first column, hiding the version column. This example shows how to implement pagination on scroll and remove the previous tr nodes as the user scroll down. variables containing the pageNumber and pageSize. NET MVC or J2EE web application (source code is included). By Jeff Boes May 24, 2012 Here’s a common problem: you have a set of results you want to display (search results, or products in a category) and you want to paginate them in a way that doesn’t submit and re-display your results page every time. net c# to load data with server side paging in datatable. i list step to create ajax pagination with laravel 5. In this tutorial, I have covered DataTables paging, sorting and searching features and shown you how you can use DataTables with ASP. Instead of adding the pagination link to the list , we will integrate Show More technique to load posts data dynamically using jQuery, Ajax, PHP. This example is partly taken from a wine project which I was developing some time ago. Paging and sorting are two very common features when displaying data. AngularJS Datatable Pagination, Sorting and Searching Using Ajax AngularJS Datatable is an angular module for provides a datatable directive along with datatable options helpers. In this tutorial, I show how you can add. There are many angular directives and modules. For beginners we introduce this article in the step-by-step manner, so you can understand and implement easily. The main methods, ajaxForm and ajaxSubmit, gather information from the form element to determine how to manage the submit process. JQuery DataTable Bind JSON Using ASP. NET MVC controller and display JSONResult on view. Allows you to customize the appearance of the paging interface. What is The Joomla Ajax Interface (com_ajax) A slim, extensible component to act as an entry point for HTTP requests for stand alone modules and plugins, thus allowing for the potential of Ajax functionality in them. A csv file containing the sample data for DemoDataTable. post() method is used to request data from a webpage and to display the returned result (sent from requested page) on to that webpage from where the request has been sent without page refresh. Tutorial » Add a pagination to DataGrid This example show how we can load data from server and how to add a pagination to datagrid. Please note that this is just an example script using PHP. Ive seen some old tutorials using L4 but it does not seem to work with the new l5 pagination. I'm going to use MySQL here. The callback may contain code to update any pagination state variables your application may utilize, e. data setting. Ajax functionality. AngularJS UI Grid UI Grid formerly known as ng-grid which is purely built on angularjs library and it covered all core grid features like sorting, paging, filtering, exporting, etc. To enable this functionality, set the SettingsPager. so create. NET Core MVC in a step by step way. Press F5 to make sure it runs. So here in this tutorial you will learn how to implement Ajax pagination in CodeIgniter framework. Under this,. Paging (Pagination) will be implemented using Entity Framework in ASP. dataTable hold all the data at DOM level and show the required data one by one. Net MVC Razor. When the user clicks on "Ajax Submit" button, button click event is fired and the 'get' function executes the Ajax GET request on the Servlet(ActionServlet in the above example). I have created a csv file and stored it in Project/App_Data folder. PHP Laravel 5. Flexigrid is very popular HTML table grid. In this tutorial, I show how you can implement Datatables pagination in CodeIgniter. Allows you to customize the appearance of the paging interface. dataTable(). With Datatable you can easily implement pagination on the webpage in less time. What About jQuery and AJAX? jQuery provides several methods for AJAX functionality. When dataModel. Can anyone give me an example of how i can get ajax pagination to work with Laravel 5. In this article we will use jQuery data table library to make efficient, responsive Paging, Sorting, Searching on html table in ASP. Datatables is one of the best libraries for display data in tabular format and easily ajax search, sort, pagination etc. Enable pagination in order to have the grid page through your data for you. Tutorial: Add sorting, filtering, and paging - ASP. pagination-sm for smaller blocks:. ag-Grid is a feature-rich datagrid available in Free or Enterprise versions. Another example of useful Ajax is viewing online maps. net jQuery Ajax JSON example, i. An HTML Table will be implement with Paging (Pagination) using jQuery AJAX, JSON and Entity Framework in ASP. Ajax-based paging & sorting inside my WebGrid for from the code in the two examples , doing a Paging or column sort will cause the current web page to re-load as. NET MVC This article gives you details about how you can implement jQuery AJAX calls to ASP. The type of the AJAX call is changed to DELETE value. You may also be interested in DataTable CRUD Example using Codeigniter, MySQL and AJAX. Simple Ajax scenario in ASP. pagination-lg for larger blocks or. GitHub Link:- https://github. NET Ajax Library is a suite of Web controls and client-side script that simplifies implementing common Ajax scenarios in ASP. Tables plug-in for jQuery. This search function sorts. Example Ajax Load More Shortcode [ajax_load_more post_type="post, portfolio" repeater="default" posts_per_page="5" transition="fade" button_label="Older Posts"] Example Demos. When initializing the DataTable, you must also tell it to make use of this plug-in, rather than using the default, by setting the pagingType to the value required by the plug-in. To reduce load time to render data in table and getting data from MySQL, we will integrate Bootstrap DataTable with MYSQL using JQUERY, PHP in Codeiniter Framework. Please checkout this article which contains two basic CRUD examples, one for JSF 2. I will demonstrate how millisecond response times are still possible even when dealing with a million rows of data. AngularJS Datatable Pagination, Sorting and Searching Using Ajax AngularJS Datatable is an angular module for provides a datatable directive along with datatable options helpers. Keep in mind that you can re-route your URI if you need a different structure. ~~ and implement the gridApi. NET MVC application. dataTable hold all the data at DOM level and show the required data one by one. Ajax functionality. This technique can be useful for adding links, assigning colours based on content rules and any other form of text manipulation you require. js in your page:. Tutorial » Add a pagination to DataGrid This example show how we can load data from server and how to add a pagination to datagrid. Mode property to EndlessPaging. Our infinite scroll pagination will use jQuery and ajax functionality to make the request and retrieve more articles to be shown to the user. You can also pass an optional object to ajaxParams for any parameters you want to pass with the url (these should be static parameters, the page number etc, will be added later on). In the following example we will see how to dispaly data using display tag and to do pagination and. This is often used to show additional information about a row, particularly when you wish to convey more information about a row than there is space for in the host table. In the previous tutorial, you implemented a set of web pages for basic CRUD operations for Student entities. Net MVC Razor. For the demonstration purpose, we will retrieve the posts data from the MySQL database and list in the web page. This need may occur, for example, if you develop a page for the admin panel of your website. net jQuery plugin in asp. To reduce load time to render data in table and getting data from MySQL, we will integrate Bootstrap DataTable with MYSQL using JQUERY, PHP in Codeiniter Framework. The examples in this section demonstrate the use of Ajax loading data in DataTables, with client-side processing. Pagination is a crucial part of any website, especially if you have hundreds of database records that you want to group and display them as pages, and in modern days with the help of Ajax you can create pagination that doesn't require any page reloading, users can stay in same page and navigate through vast numbers of records on fly. This object has a method called, Fill which is used to add or refresh the rows in a DataSet. Hi! Happy New Year 2017!!! This is my first post in the new year and let's see how to create simple ajax pagination in php pdo, mysql and jquery. Now, what’s coming back from the server? As you can see we have a JSON object with some basic information and the data collection found on database. This examples shows the use of columns. Both of these methods support numerous options which allows you to have full control over how the data is submitted. AngularJS UI Grid UI Grid formerly known as ng-grid which is purely built on angularjs library and it covered all core grid features like sorting, paging, filtering, exporting, etc. pagination-lg for larger blocks or. 0 which supports passing method arguments in EL 2. In this tutorial, I show how you can add. This is a simple use. I know the. Bind,Save,Edit,Update,Cancel,Delete,Paging example in GridView in asp. When you have lots of rows to be displayed in a gridview say for example 500 records, if an user is interested in seeing 400th record, the user has to scroll all the way down through the page, if there is no paging or scrolling functionality. You can familiarize with the basic paging capabilities of Telerik RadGrid from this online example. since this is a helper class and. In this example the Ajax source returns an array of objects, which DataTables uses to display the table. I can't even count how many customers complained about paging tables that were elated on the return to scrolling. Net, GridView. In our example script, we will fetch the posts data from the database and display in the list. Default Responsive Datatables. ajax() method so that it shows all records. DataTables custom pagination plug-in example Preamble The two default pagination styles that DataTables comes with are great for basic tables, but you might which to add extra customisation or a bit of 'glitz'. I need the Next, Previous, First and Last buttons to also fire the same ajax call, but with different page numbers, as the back-end interceptor depends on the page number. This code will have first, last, previous, next and other pagination links. In this section I'll briefly cover the libraries and plugins I'll employ in this tutorial. Today, We want to share with you Angular 6 DataTable Pagination Sorting Searching Example. i list step to create ajax pagination with laravel 5. Datatables by default provide all function by default like ordering, pagination, listing searching for all table column. Flexigrid – Lightweight and Rich Data Grid. For beginners we introduce this article in the step-by-step manner, so you can understand and implement easily. Keep in mind that you can re-route your URI if you need a different structure. With the help of tags we specify head and body of the table to dataTables plugin. The pager can be customized using settings of the SettingsPager property. Use DataTables for a cool and efficient way to display data in a grid; Data pagination is done server side using an IQueriable extension, PagedList. I will demonstrate how millisecond response times are still possible even when dealing with a million rows of data. Basic examples Advanced examples. Do not forget. We have learn jQuery Datatables with listing, searching and pagination and jQuery Datatables Export to PDF in earlier datatables tutorial, Now i am extending that jQuery datatables tutorial and adding export jQuery Datatables to CSV file. DataTables can read data from a server via Ajax, while still performing searching, ordering, paging etc on the client-side. Hi, In this post we have looking for discuss topic on Jquery Datatables, How can we perform date range search on Datatables that means we will filter data between two given date and filter Datatables data based on between two given data. js in your page:. Paging is not exactly efficient. This example shows how to implement pagination on scroll and remove the previous tr nodes as the user scroll down. Tables plug-in for jQuery. In my previous article I discussed about JQuery DataTable Paging, Searching and Sorting In ASP. 2, PrimeFaces, Spring MVC, Java 8, Hadoop, Android programming, jQuery/Ajax, and other Java EE topics onsite at YOUR location. jQuery Datatable Remote pagination with Spring MVC / SpringData a very nice fully functional javascript datatable with pagination, searching, sorting, etc. Use the first inner array as the page length values and the second inner array as the displayed options. This data will update automatically as any additional data is loaded. net mvc webgrid. Hi tohin, i have implemented your example, but it doesnt works if i use Jquery POST method, example: i use this pagination for search result, if i click the link for page 2 or next it takes no action because it has search parameters, i thought when i click the link for page 2, it should post search parameters again. In this post, we will learn about Angular 6 Datatable Pagination, Sorting and Searching Using Ajax with an example. net and php, using xml and json, asynchronous request handling, ajax example with database and a lot of ajax topics. In this lesson, we will show you how to add a pagination action by clicking on the "Next" button and extract from all available pages. This examples shows the use of columns. 5 ajax paginate, laravel ajax code for pagination, laravel pagination links ajax. Contribute to DataTables/DataTables development by creating an account on GitHub. DWR - Easy Ajax for JAVA Direct Web Remoting DWR is a Java library that enables Java on the server and JavaScript in a browser to interact and call each other as simply as possible. However, you don't always have pages with the same number of rows. In this example, we are using jQuery dataTable to create pagination for a huge amount of data.