{"id":25338,"date":"2015-08-10T11:29:41","date_gmt":"2015-08-10T05:59:41","guid":{"rendered":"https:\/\/2thenew.online\/blog\/?p=25338"},"modified":"2022-01-11T14:40:03","modified_gmt":"2022-01-11T09:10:03","slug":"using-pipeline-in-datatables","status":"publish","type":"post","link":"https:\/\/2thenew.online\/blog\/using-pipeline-in-datatables\/","title":{"rendered":"Using pipeline in DataTables"},"content":{"rendered":"<p>jQuery DataTables is simple to use as a jQuery plug-in with a huge range of customizable options.<\/p>\n<p>As discussed in a previous <a href=\"https:\/\/2thenew.online\/blog\/jquery-datatables-plugin-for-pagination-of-html-tables-2\/\">blog<\/a>, we already know how to draw a basic paginated html table using DataTables.<\/p>\n<p>Another way is to make an ajax call for every page. This causes multiple requests to be made on your server for every dataset.<\/p>\n<p>Using DataTable pipeline, we can reduce these requests by fetching more data than is needed for each dataset.<br \/>\nFor example, If we have 1000 records and we are displaying 10 records on a single page, \u00a0we can configure pipeline to fetch 50 records (data for 5 pages) in a single request. If user navigates to page 6, only then a new request is made to fetch data for next 5 pages (6-10 pages).<\/p>\n<p>Clearly, using pipelines, we can reduce the number of requests on our server.<\/p>\n<p>Let&#8217;s see how it works :<\/p>\n<p>Step 1 : Include <a href=\"https:\/\/cdnjs.cloudflare.com\/ajax\/libs\/jquery\/1.11.3\/jquery.min.js\">jquery.min.js<\/a>, <a href=\"http:\/\/cdn.datatables.net\/1.10.7\/js\/jquery.dataTables.min.js\">jquery.datatables.min.js<\/a> and <a href=\"http:\/\/cdn.datatables.net\/1.10.7\/css\/jquery.dataTables.min.css\">jquery.datatables.min.css<\/a> on your page.<\/p>\n<p>Step2 : Create an empty table structure (with empty table body) :<\/p>\n<p>[java]<br \/>\n&lt;table id=&quot;employeeListing&quot;&gt;<br \/>\n        &lt;thead&gt;<br \/>\n        &lt;tr&gt;<br \/>\n            &lt;td&gt;First Name&lt;\/td&gt;<br \/>\n            &lt;td&gt;Last Name&lt;\/td&gt;<br \/>\n            &lt;td&gt;Email&lt;\/td&gt;<br \/>\n            &lt;td&gt;Age&lt;\/td&gt;<br \/>\n            &lt;td&gt;City&lt;\/td&gt;<br \/>\n            &lt;td&gt;Salary&lt;\/td&gt;<br \/>\n        &lt;\/tr&gt;<br \/>\n        &lt;\/thead&gt;<br \/>\n        &lt;tbody&gt;<br \/>\n        &lt;\/tbody&gt;<br \/>\n&lt;\/table&gt;<br \/>\n[\/java]<\/p>\n<p>Step 3 : Include <a href=\"https:\/\/github.com\/mansi90\/ajaxified-dataTable-demo\/blob\/master\/grails-app\/assets\/javascripts\/ajaxifiedDataTable.js\">this<\/a> js file on your page (This is taken from one of the examples of datatable). Here, in &#8216;enableAjaxifiedDataTable&#8217; function, we are extending datatable to support data pipelining.<\/p>\n<p>Step 4 : Create a new function which intializes datatables for your table :<\/p>\n<p>[java]<br \/>\nfunction drawTable(table, noOfPagesToCache, totalRecords, ajaxUrl) {<br \/>\n    $(table).dataTable({<br \/>\n        &#8216;aoColumnDefs&#8217;: [<br \/>\n            {<br \/>\n                &#8216;bSortable&#8217;: false,<br \/>\n                &#8216;aTargets&#8217;: [&#8216;nosort&#8217;]<br \/>\n            }<br \/>\n        ],<br \/>\n        &quot;lengthMenu&quot;: [<br \/>\n            [10, 25, 50, 100, totalRecords],<br \/>\n            [10, 25, 50, 100, &quot;All&quot;]<br \/>\n        ],<br \/>\n        &quot;serverSide&quot;: true,<br \/>\n        &quot;bProcessing&quot;: true,    \/\/ Display processing text, while an ajax call is being made<br \/>\n        &quot;ajax&quot;: $.fn.dataTable.pipeline({<br \/>\n            url: ajaxUrl,     \/\/specify ajax url<br \/>\n            pages: noOfPagesToCache   \/\/ no of pages you wish to cache<br \/>\n        })<br \/>\n    });<br \/>\n}<br \/>\n[\/java]<\/p>\n<p>Step 5 : Invoke the above functions in document.ready :<\/p>\n<p>[java]<br \/>\n$(document).ready(function () {<br \/>\n\tvar totalRecords = 2000; \/\/ total no of records<br \/>\n\tvar ajaxUrl = &quot;localhost:8080\/someUrl&quot; \/\/ url that fetches the data for the table<br \/>\n    enableAjaxifiedDataTable();<br \/>\n    drawTable($(&#8216;#employeeListing&#8217;), 1, totalRecords, ajaxUrl);  \/\/Initializes the datatable<br \/>\n});<br \/>\n[\/java]<\/p>\n<p>When an ajax call is made by datatables it sends various parameters, following are some commonly used parameters :<br \/>\n&#8211; <strong>start<\/strong> \/\/ start index<br \/>\n&#8211; <strong>length<\/strong> \/\/ total no of records to fetch (in one draw)<br \/>\n&#8211; <strong>order[indexOfColumn][dir]=sortOrder<\/strong> \/\/ here indexofColumn means the column-index* which you want to sort, sortOrder would be &#8220;asc&#8221; or &#8220;desc&#8221;<br \/>\n&#8211; <strong>search[value]=searchText<\/strong> \/\/ here, searchText is the text you entered in the search text-box<\/p>\n<p><strong>Note<\/strong> :<br \/>\ncolumn-index : The table columns are zero-indexed, where the first column has 0 index, second has 1st index, and so on&#8230;<br \/>\nIn this case : 0 &#8211; &#8220;FirstName&#8221;, 1- &#8220;LastEmail&#8221;, 2 &#8211; &#8220;Email&#8221;, 3 &#8211; &#8220;Age&#8221;, 4 &#8211; &#8220;City&#8221;, and 5 &#8211; &#8220;Salary&#8221;.<\/p>\n<p>Step 6 : Implement your back-end logic accordingly.<\/p>\n<p>Once you get everything to work, this should help you reduce a considerable number of requests on your server.<\/p>\n<p>For better understanding, I have created a demo <a href=\"https:\/\/github.com\/mansi90\/ajaxified-dataTable-demo\">application<\/a>.<\/p>\n<p>Hope it helps \ud83d\ude42<\/p>\n<p>Please share your queries in the comment section below so that I will get back to you as soon as possible. To know more about what we offer in Grails service, <a title=\"Grails Development | TO THE NEW Digital\" href=\"https:\/\/2thenew.online\/grails-application-development\">get in touch with us<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>jQuery DataTables is simple to use as a jQuery plug-in with a huge range of customizable options. As discussed in a previous blog, we already know how to draw a basic paginated html table using DataTables. Another way is to make an ajax call for every page. This causes multiple requests to be made on [&hellip;]<\/p>\n","protected":false},"author":79,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"iawp_total_views":15,"footnotes":""},"categories":[7],"tags":[96,1359,27,2186],"class_list":["post-25338","post","type-post","status-publish","format-standard","hentry","category-grails","tag-ajax","tag-datatables","tag-jquery","tag-pipeline-data"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 5.0.0.1 - aioseo.com -->\n\t<meta name=\"description\" content=\"jQuery DataTables is simple to use as a jQuery plug-in with a huge range of customizable options. As discussed in a previous blog, we already know how to draw a basic paginated html table using DataTables. Another way is to make an ajax call for every page. This causes multiple requests to be made on\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"Mansi Arora\"\/>\n\t<link rel=\"canonical\" href=\"https:\/\/2thenew.online\/blog\/using-pipeline-in-datatables\/\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 5.0.0.1\" \/>\n\t\t<meta property=\"og:locale\" content=\"en_US\" \/>\n\t\t<meta property=\"og:site_name\" content=\"TO THE NEW BLOG\" \/>\n\t\t<meta property=\"og:type\" content=\"blog\" \/>\n\t\t<meta property=\"og:title\" content=\"Using pipeline in DataTables | TO THE NEW Blog\" \/>\n\t\t<meta property=\"og:description\" content=\"jQuery DataTables is simple to use as a jQuery plug-in with a huge range of customizable options. As discussed in a previous blog, we already know how to draw a basic paginated html table using DataTables. Another way is to make an ajax call for every page. This causes multiple requests to be made on\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/2thenew.online\/blog\/using-pipeline-in-datatables\/\" \/>\n\t\t<meta property=\"og:image\" content=\"https:\/\/2thenew.online\/blog\/wp-content\/themes\/ttn\/images\/social-logo.png\" \/>\n\t\t<meta property=\"og:image:secure_url\" content=\"https:\/\/2thenew.online\/blog\/wp-content\/themes\/ttn\/images\/social-logo.png\" \/>\n\t\t<meta name=\"twitter:card\" content=\"summary\" \/>\n\t\t<meta name=\"twitter:site\" content=\"@tothenew\" \/>\n\t\t<meta name=\"twitter:title\" content=\"Using pipeline in DataTables | TO THE NEW Blog\" \/>\n\t\t<meta name=\"twitter:description\" content=\"jQuery DataTables is simple to use as a jQuery plug-in with a huge range of customizable options. As discussed in a previous blog, we already know how to draw a basic paginated html table using DataTables. Another way is to make an ajax call for every page. This causes multiple requests to be made on\" \/>\n\t\t<meta name=\"twitter:image\" content=\"https:\/\/2thenew.online\/blog\/wp-content\/themes\/ttn\/images\/social-logo.png\" \/>\n\t\t<script type=\"application\/ld+json\" class=\"aioseo-schema\">\n\t\t\t{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/using-pipeline-in-datatables\\\/#article\",\"name\":\"Using pipeline in DataTables | TO THE NEW Blog\",\"headline\":\"Using pipeline in DataTables\",\"author\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/author\\\/mansi\\\/#author\"},\"publisher\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/#organization\"},\"datePublished\":\"2015-08-10T11:29:41+05:30\",\"dateModified\":\"2022-01-11T14:40:03+05:30\",\"inLanguage\":\"en-US\",\"commentCount\":2,\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/using-pipeline-in-datatables\\\/#webpage\"},\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/using-pipeline-in-datatables\\\/#webpage\"},\"articleSection\":\"Grails, Ajax, dataTables, jquery, pipeline-data\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/using-pipeline-in-datatables\\\/#breadcrumblist\",\"itemListElement\":[{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog#listItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.tothenew.com\\\/blog\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/category\\\/grails\\\/#listItem\",\"name\":\"Grails\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/category\\\/grails\\\/#listItem\",\"position\":2,\"name\":\"Grails\",\"item\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/category\\\/grails\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/using-pipeline-in-datatables\\\/#listItem\",\"name\":\"Using pipeline in DataTables\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog#listItem\",\"name\":\"Home\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/using-pipeline-in-datatables\\\/#listItem\",\"position\":3,\"name\":\"Using pipeline in DataTables\",\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/category\\\/grails\\\/#listItem\",\"name\":\"Grails\"}}]},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/#organization\",\"name\":\"TO THE NEW Blog\",\"url\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/author\\\/mansi\\\/#author\",\"url\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/author\\\/mansi\\\/\",\"name\":\"Mansi Arora\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/using-pipeline-in-datatables\\\/#authorImage\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/a58f57a35d110e644b024b38bf813f047dd8d76cc2354cdd1ac1ccfe5a2a508d?s=96&d=mm&r=g\",\"width\":96,\"height\":96,\"caption\":\"Mansi Arora\"}},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/using-pipeline-in-datatables\\\/#webpage\",\"url\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/using-pipeline-in-datatables\\\/\",\"name\":\"Using pipeline in DataTables | TO THE NEW Blog\",\"description\":\"jQuery DataTables is simple to use as a jQuery plug-in with a huge range of customizable options. As discussed in a previous blog, we already know how to draw a basic paginated html table using DataTables. Another way is to make an ajax call for every page. This causes multiple requests to be made on\",\"inLanguage\":\"en-US\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/#website\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/using-pipeline-in-datatables\\\/#breadcrumblist\"},\"author\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/author\\\/mansi\\\/#author\"},\"creator\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/author\\\/mansi\\\/#author\"},\"datePublished\":\"2015-08-10T11:29:41+05:30\",\"dateModified\":\"2022-01-11T14:40:03+05:30\"},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/\",\"name\":\"TO THE NEW Blog\",\"inLanguage\":\"en-US\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/#organization\"}}]}\n\t\t<\/script>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"Using pipeline in DataTables | TO THE NEW Blog","description":"jQuery DataTables is simple to use as a jQuery plug-in with a huge range of customizable options. As discussed in a previous blog, we already know how to draw a basic paginated html table using DataTables. Another way is to make an ajax call for every page. This causes multiple requests to be made on","canonical_url":"https:\/\/2thenew.online\/blog\/using-pipeline-in-datatables\/","robots":"max-image-preview:large","keywords":"","webmasterTools":{"miscellaneous":""},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/2thenew.online\/blog\/using-pipeline-in-datatables\/#article","name":"Using pipeline in DataTables | TO THE NEW Blog","headline":"Using pipeline in DataTables","author":{"@id":"https:\/\/2thenew.online\/blog\/author\/mansi\/#author"},"publisher":{"@id":"https:\/\/2thenew.online\/blog\/#organization"},"datePublished":"2015-08-10T11:29:41+05:30","dateModified":"2022-01-11T14:40:03+05:30","inLanguage":"en-US","commentCount":2,"mainEntityOfPage":{"@id":"https:\/\/2thenew.online\/blog\/using-pipeline-in-datatables\/#webpage"},"isPartOf":{"@id":"https:\/\/2thenew.online\/blog\/using-pipeline-in-datatables\/#webpage"},"articleSection":"Grails, Ajax, dataTables, jquery, pipeline-data"},{"@type":"BreadcrumbList","@id":"https:\/\/2thenew.online\/blog\/using-pipeline-in-datatables\/#breadcrumblist","itemListElement":[{"@type":"ListItem","@id":"https:\/\/2thenew.online\/blog#listItem","position":1,"name":"Home","item":"https:\/\/2thenew.online\/blog","nextItem":{"@type":"ListItem","@id":"https:\/\/2thenew.online\/blog\/category\/grails\/#listItem","name":"Grails"}},{"@type":"ListItem","@id":"https:\/\/2thenew.online\/blog\/category\/grails\/#listItem","position":2,"name":"Grails","item":"https:\/\/2thenew.online\/blog\/category\/grails\/","nextItem":{"@type":"ListItem","@id":"https:\/\/2thenew.online\/blog\/using-pipeline-in-datatables\/#listItem","name":"Using pipeline in DataTables"},"previousItem":{"@type":"ListItem","@id":"https:\/\/2thenew.online\/blog#listItem","name":"Home"}},{"@type":"ListItem","@id":"https:\/\/2thenew.online\/blog\/using-pipeline-in-datatables\/#listItem","position":3,"name":"Using pipeline in DataTables","previousItem":{"@type":"ListItem","@id":"https:\/\/2thenew.online\/blog\/category\/grails\/#listItem","name":"Grails"}}]},{"@type":"Organization","@id":"https:\/\/2thenew.online\/blog\/#organization","name":"TO THE NEW Blog","url":"https:\/\/2thenew.online\/blog\/"},{"@type":"Person","@id":"https:\/\/2thenew.online\/blog\/author\/mansi\/#author","url":"https:\/\/2thenew.online\/blog\/author\/mansi\/","name":"Mansi Arora","image":{"@type":"ImageObject","@id":"https:\/\/2thenew.online\/blog\/using-pipeline-in-datatables\/#authorImage","url":"https:\/\/secure.gravatar.com\/avatar\/a58f57a35d110e644b024b38bf813f047dd8d76cc2354cdd1ac1ccfe5a2a508d?s=96&d=mm&r=g","width":96,"height":96,"caption":"Mansi Arora"}},{"@type":"WebPage","@id":"https:\/\/2thenew.online\/blog\/using-pipeline-in-datatables\/#webpage","url":"https:\/\/2thenew.online\/blog\/using-pipeline-in-datatables\/","name":"Using pipeline in DataTables | TO THE NEW Blog","description":"jQuery DataTables is simple to use as a jQuery plug-in with a huge range of customizable options. As discussed in a previous blog, we already know how to draw a basic paginated html table using DataTables. Another way is to make an ajax call for every page. This causes multiple requests to be made on","inLanguage":"en-US","isPartOf":{"@id":"https:\/\/2thenew.online\/blog\/#website"},"breadcrumb":{"@id":"https:\/\/2thenew.online\/blog\/using-pipeline-in-datatables\/#breadcrumblist"},"author":{"@id":"https:\/\/2thenew.online\/blog\/author\/mansi\/#author"},"creator":{"@id":"https:\/\/2thenew.online\/blog\/author\/mansi\/#author"},"datePublished":"2015-08-10T11:29:41+05:30","dateModified":"2022-01-11T14:40:03+05:30"},{"@type":"WebSite","@id":"https:\/\/2thenew.online\/blog\/#website","url":"https:\/\/2thenew.online\/blog\/","name":"TO THE NEW Blog","inLanguage":"en-US","publisher":{"@id":"https:\/\/2thenew.online\/blog\/#organization"}}]},"og:locale":"en_US","og:site_name":"TO THE NEW BLOG","og:type":"blog","og:title":"Using pipeline in DataTables | TO THE NEW Blog","og:description":"jQuery DataTables is simple to use as a jQuery plug-in with a huge range of customizable options. As discussed in a previous blog, we already know how to draw a basic paginated html table using DataTables. Another way is to make an ajax call for every page. This causes multiple requests to be made on","og:url":"https:\/\/2thenew.online\/blog\/using-pipeline-in-datatables\/","og:image":"https:\/\/2thenew.online\/blog\/wp-content\/themes\/ttn\/images\/social-logo.png","og:image:secure_url":"https:\/\/2thenew.online\/blog\/wp-content\/themes\/ttn\/images\/social-logo.png","twitter:card":"summary","twitter:site":"@tothenew","twitter:title":"Using pipeline in DataTables | TO THE NEW Blog","twitter:description":"jQuery DataTables is simple to use as a jQuery plug-in with a huge range of customizable options. As discussed in a previous blog, we already know how to draw a basic paginated html table using DataTables. Another way is to make an ajax call for every page. This causes multiple requests to be made on","twitter:image":"https:\/\/2thenew.online\/blog\/wp-content\/themes\/ttn\/images\/social-logo.png"},"aioseo_meta_data":{"post_id":"25338","title":null,"description":null,"keywords":[],"keyphrases":{"focus":[],"additional":[]},"primary_term":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"blog","og_image_type":"default","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":"","og_custom_url":null,"og_article_section":null,"og_article_tags":[],"twitter_use_og":false,"twitter_card":"summary","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":{"id":"#aioseo-article-65e04f91ca825","slug":"article","graphName":"Article","label":"Article","properties":{"type":"BlogPosting","name":"#post_title","headline":"#post_title","description":"#post_excerpt","image":"","keywords":"","author":{"name":"#author_name","url":"#author_url"},"dates":{"include":true,"datePublished":"","dateModified":""}}},"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"Article","isEnabled":true},"graphs":[]},"schema_type":"default","schema_type_options":"{\"article\":{\"articleType\":\"BlogPosting\"},\"course\":{\"name\":\"\",\"description\":\"\",\"provider\":\"\"},\"faq\":{\"pages\":[]},\"product\":{\"reviews\":[]},\"recipe\":{\"ingredients\":[],\"instructions\":[],\"keywords\":[]},\"software\":{\"reviews\":[],\"operatingSystems\":[]},\"webPage\":{\"webPageType\":\"WebPage\"}}","pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":"-1","robots_max_videopreview":"-1","robots_max_imagepreview":"large","priority":null,"frequency":"default","local_seo":null,"limit_modified_date":false,"created":"2021-04-30 00:38:40","updated":"2024-02-29 09:34:09","focus_keyword":null,"additional_keywords":null,"truseo_locale":null,"ai":null,"breadcrumb_settings":null,"seo_analyzer_scan_date":null},"aioseo_breadcrumb":"<div class=\"aioseo-breadcrumbs\"><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/2thenew.online\/blog\" title=\"Home\">Home<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/2thenew.online\/blog\/category\/grails\/\" title=\"Grails\">Grails<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\tUsing pipeline in DataTables\n\t\t<\/span><\/div>","aioseo_breadcrumb_json":[{"label":"Home","link":"https:\/\/2thenew.online\/blog"},{"label":"Grails","link":"https:\/\/2thenew.online\/blog\/category\/grails\/"},{"label":"Using pipeline in DataTables","link":"https:\/\/2thenew.online\/blog\/using-pipeline-in-datatables\/"}],"_links":{"self":[{"href":"https:\/\/2thenew.online\/blog\/wp-json\/wp\/v2\/posts\/25338","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/2thenew.online\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/2thenew.online\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/2thenew.online\/blog\/wp-json\/wp\/v2\/users\/79"}],"replies":[{"embeddable":true,"href":"https:\/\/2thenew.online\/blog\/wp-json\/wp\/v2\/comments?post=25338"}],"version-history":[{"count":1,"href":"https:\/\/2thenew.online\/blog\/wp-json\/wp\/v2\/posts\/25338\/revisions"}],"predecessor-version":[{"id":54563,"href":"https:\/\/2thenew.online\/blog\/wp-json\/wp\/v2\/posts\/25338\/revisions\/54563"}],"wp:attachment":[{"href":"https:\/\/2thenew.online\/blog\/wp-json\/wp\/v2\/media?parent=25338"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/2thenew.online\/blog\/wp-json\/wp\/v2\/categories?post=25338"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/2thenew.online\/blog\/wp-json\/wp\/v2\/tags?post=25338"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}