Skip to content

Instantly share code, notes, and snippets.

@moxet
Created September 21, 2021 12:25
Show Gist options
  • Select an option

  • Save moxet/7e27a359785c8fcf05d80877115e6a94 to your computer and use it in GitHub Desktop.

Select an option

Save moxet/7e27a359785c8fcf05d80877115e6a94 to your computer and use it in GitHub Desktop.
Add DataTable features to Crocoblock Table Builder
<link rel="stylesheet" type="text/css" href="https://cdn.datatables.net/v/dt/dt-1.11.2/datatables.min.css"/>
<script type="text/javascript" src="https://cdn.datatables.net/v/dt/dt-1.11.2/datatables.min.js"></script>
<script>
jQuery(document).ready(function($) {
$('.jet-dynamic-table').DataTable();
});
</script>
@alexgauvin
Copy link

Data is created with JetEngin CPT, with a custom repeater field.
Data is then displayed with Tables builder provided by JetEngine as an addon plugin.
But I wasn't able to filter repeater data. With @moxet's tutorials i'm good to go.

@Jonathan1500
Copy link

Data is created with JetEngin CPT, with a custom repeater field. Data is then displayed with Tables builder provided by JetEngine as an addon plugin. But I wasn't able to filter repeater data. With @moxet's tutorials i'm good to go.

I use the same jetengine and table builder, but I have a problem that only shows me 10 post

@gurutto-manila
Copy link

Data is created with JetEngin CPT, with a custom repeater field. Data is then displayed with Tables builder provided by JetEngine as an addon plugin. But I wasn't able to filter repeater data. With @moxet's tutorials i'm good to go.

I use the same jetengine and table builder, but I have a problem that only shows me 10 post

check your query if you put offset that limiting to 10

@Jonathan1500
Copy link

Jonathan1500 commented Apr 1, 2024

Hello, i dont have limit in my query

@SamP-dgt
Copy link

SamP-dgt commented Oct 2, 2025

Please Crocoblock consider including this function into the core! Also, can anyone explain how to get those texts translated? I mean "Show", "Entries", "Search"...

@moxet
Copy link
Author

moxet commented Oct 5, 2025

@SamP-dgt Yes you can use translation
https://datatables.net/plug-ins/i18n/

@manikhossain2025
Copy link

Hello everyone, I need help with JetEngine REST API pagination.

I have a JetEngine Custom Post Type (completed-project), and I’m loading the data on another website using the REST endpoint:
https://mydomain.com/wp-json/wp/v2/completed-project

The data loads correctly, but I cannot get pagination or the “Load More” button to work with the Listing Grid.

The listing loads the first set of items, but clicking “Load More” does not fetch additional posts.

Can anyone suggest a video tutorial for this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment