
Add jsGrid http://js-grid.com tables to your website using the shortcode: [nmr_jsgrid id='your-grid-name'].
Data grids or tables have configurable number of columns, filters, edit, update and delete functionalities.
Configuration of grids is performed on the admin back-end.
Tables can be paginated and need back-end pagination. Ajax calls help to avoid entire page reload.
Example of a toy back-end pagination:
add_action('wp_ajax_nopriv_sample_pagination', function () { // assume HTTP GET for this example $data = $_GET; global $wpdb; $sql_base = $wpdb->prepare("SELECT umeta_id, meta_key FROM {$wpdb->prefix}usermeta"); $sql = $wpdb->prepare("SELECT COUNT(*) FROM ({$sql_base}) t"); $itemsCount = $wpdb->get_var($sql); $pageIndex = intval($data['pageIndex']); if ($pageIndex < 1) { $pageIndex = 1; } $pageSize = intval($data['pageSize']); if ($pageSize < 1) { $pageSize = 20; } $endIndex = $pageIndex * $pageSize; $startIndex = $endIndex - $pageSize; $limit = "LIMIT {$pageSize} OFFSET {$startIndex}"; $sql = "SELECT t.* FROM ({$sql_base}) t {$limit}"; wp_send_json(json_encode(['data' => $wpdb->get_results($sql, ARRAY_A), 'itemsCount' => $itemsCount])); }); Having prepared the back-end to provide paginated data, the front-end data-grid cand be built in the Admin->NMR jsGrids interface.
Add a row and set the column values accordingly.
Please consult the documentation for more details:
Plugin will enqueue nmr-jsgrid.js javascript file.
To use the plugin on the Admin module one should add the Admin slug/hook in the filter: nmr_jsgrid_admin_enqueue_scripts
Ex:
add_filter('nmr_jsgrid_admin_enqueue_scripts', function ($admin_php_files) { // NMR jsGrid will be available in Admin->My page->My subpage $admin_php_files[] = 'admin-my_page_admin-my_subpage'; return $admin_php_files; }); If you enjoy using NMR JSGrid and find it useful, please consider making a donation. Your donation will help encourage and support the plugin’s continued development and better user support.
Starting from $0 per month.
Rating
Reviewers
No reviews
Tags
Developed By
mirceatm
Quick & Easy
Common Ninja has a large selection of powerful Wordpress plugins that are easy to use, fully customizable, mobile-friendly and rich with features — so be sure to check them out!
Testimonial plugins for Wordpress
Galleries plugins for Wordpress
SEO plugins for Wordpress
Contact Form plugins for Wordpress
Forms plugins for Wordpress
Social Feeds plugins for Wordpress
Social Sharing plugins for Wordpress
Events Calendar plugins for Wordpress
Sliders plugins for Wordpress
Analytics plugins for Wordpress
Reviews plugins for Wordpress
Comments plugins for Wordpress
Portfolio plugins for Wordpress
Maps plugins for Wordpress
Security plugins for Wordpress
Translation plugins for Wordpress
Ads plugins for Wordpress
Video Player plugins for Wordpress
Music Player plugins for Wordpress
Backup plugins for Wordpress
Privacy plugins for Wordpress
Optimize plugins for Wordpress
Chat plugins for Wordpress
Countdown plugins for Wordpress
Email Marketing plugins for Wordpress
Tabs plugins for Wordpress
Membership plugins for Wordpress
popup plugins for Wordpress
SiteMap plugins for Wordpress
Payment plugins for Wordpress
Coming Soon plugins for Wordpress
Ecommerce plugins for Wordpress
Customer Support plugins for Wordpress
Inventory plugins for Wordpress
Video Player plugins for Wordpress
Testimonials plugins for Wordpress
Tabs plugins for Wordpress
Social Sharing plugins for Wordpress
Social Feeds plugins for Wordpress
Slider plugins for Wordpress
Reviews plugins for Wordpress
Portfolio plugins for Wordpress
Membership plugins for Wordpress
Forms plugins for Wordpress
Events Calendar plugins for Wordpress
Contact plugins for Wordpress
Comments plugins for Wordpress
Analytics plugins for Wordpress
Common Ninja Apps
Browse our extensive collection of compatible plugins, and easily embed them on any website, blog, online store, e-commerce platform, or site builder.
Add a countdown timer to your site to highlight upcoming events or launches and encourage timely user action.
Show Telegram conversations on your website in a clear, authentic chat format.
Add a unified chat tool to your site that connects users via WhatsApp, Messenger, Telegram, or email for seamless support.
Run engaging public voting contests that showcase products and crown a winner
Add opening hours to your site to give visitors clear, reliable business information that improves trust, reduces confusion, and supports user experience.
A scroll to top button that helps visitors move back to the top of long pages quickly, improving navigation and overall browsing flow.
Add a flexible size chart with visual guides and category tabs to help users choose accurate measurements while shopping.
Showcase visuals with an image slider that displays multiple images in a smooth slideshow, improves design, and keeps visitors engaged.
Use product blobs to highlight key items, draw attention to featured products, and guide visitors toward faster and more confident purchase decisions.
Add an interactive spinning wheel to offer prizes, capture leads, and drive user engagement through gamified rewards.
Add an Instagram slider to your site to display social posts dynamically and keep your visual content engaging and current.
Create a TDEE Calculator that helps visitors estimate daily calorie needs and make informed decisions.
More plugins
The Common Ninja Search Engine platform helps website builders find the best site widgets, apps, plugins, tools, add-ons, and extensions! Compatible with all major website building platforms - big or small - and updated regularly, our Search Engine tool provides you with the business tools your site needs!
