{"id":638,"date":"2021-07-26T14:16:29","date_gmt":"2021-07-26T14:16:29","guid":{"rendered":"https:\/\/xcrud.net\/eshop\/?post_type=product&#038;p=638"},"modified":"2024-03-23T07:10:52","modified_gmt":"2024-03-23T07:10:52","slug":"xcrud-table-auto-refresh-script","status":"publish","type":"product","link":"https:\/\/xcrud.net\/eshop\/product\/xcrud-table-auto-refresh-script\/","title":{"rendered":"xCRUD table auto-refresh script"},"content":{"rendered":"<p><img decoding=\"async\" class=\"alignnone size-medium wp-image-643\" src=\"https:\/\/xcrud.net\/eshop\/wp-content\/uploads\/2021\/07\/autorefresh-300x129.png\" alt=\"\" width=\"300\" height=\"129\" srcset=\"https:\/\/xcrud.net\/eshop\/wp-content\/uploads\/2021\/07\/autorefresh-300x129.png 300w, https:\/\/xcrud.net\/eshop\/wp-content\/uploads\/2021\/07\/autorefresh-350x150.png 350w, https:\/\/xcrud.net\/eshop\/wp-content\/uploads\/2021\/07\/autorefresh-768x329.png 768w, https:\/\/xcrud.net\/eshop\/wp-content\/uploads\/2021\/07\/autorefresh-416x178.png 416w, https:\/\/xcrud.net\/eshop\/wp-content\/uploads\/2021\/07\/autorefresh.png 842w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/p>\n<p>A simple script that auto refreshes xCrud table every few seconds.<\/p>\n<p>This comes in handy when you are creating a real-time\u00a0 application\u00a0 i.e stock monitor and any data changes are important to be shown to the user.<\/p>\n<ul>\n<li>The developed script ensures that it only refreshes if the list is shown<\/li>\n<li>On edit the script is disabled.<\/li>\n<li>You can easily configure it for any other table\/list.<\/li>\n<li>2 minutes to install the script.<\/li>\n<li>A read-me to get it working<\/li>\n<\/ul>\n<table>\n<tbody>\n<tr>\n<th>Description<\/th>\n<th>Comments<\/th>\n<\/tr>\n<tr>\n<td><strong>Script Name<\/strong><\/td>\n<td>xCrud Auto-Refresh<\/td>\n<\/tr>\n<tr>\n<td><strong>xCRUD Compatibility<\/strong><\/td>\n<td>Compatible with xCrud V1.6.x, xCrud V1.7.x<\/td>\n<\/tr>\n<tr>\n<td><strong>Demo Link<\/strong><\/td>\n<td><a href=\"https:\/\/xcrud.net\/tricks\/auto_refresh.php\" target=\"_blank\" rel=\"noopener noreferrer\">Auto Refresh Demo<\/a><\/td>\n<\/tr>\n<tr>\n<td><strong>File Changes<\/strong><\/td>\n<td>\n<ul>\n<li>auto_refresh.php . This is the file that has the demo<\/li>\n<\/ul>\n<p><strong>Required Files<\/strong><\/p>\n<p><strong>xcrud 1.6.x<\/strong> <strong>, xcrud 1.7.x<\/strong> or <strong>xcrud pro<\/strong><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n","protected":false},"excerpt":{"rendered":"<p>A simple script that auto refreshes xCrud table every few seconds.<\/p>\n<p><a class=\"button product_type_simple\" href=\"https:\/\/xcrud.net\/tricks\/auto_refresh.php\" target=\"_blank\" rel=\"noopener noreferrer\">View &#8216;Auto Refresh&#8217; Demo<\/a><\/p>\n<p>&nbsp;<\/p>\n","protected":false},"featured_media":656,"comment_status":"open","ping_status":"closed","template":"","meta":{"pagelayer_contact_templates":[],"_pagelayer_content":""},"product_brand":[],"product_cat":[31],"product_tag":[],"class_list":{"0":"post-638","1":"product","2":"type-product","3":"status-publish","4":"has-post-thumbnail","6":"product_cat-simple-tricks-scripts","8":"first","9":"instock","10":"sale","11":"downloadable","12":"virtual","13":"taxable","14":"purchasable","15":"product-type-simple"},"_links":{"self":[{"href":"https:\/\/xcrud.net\/eshop\/wp-json\/wp\/v2\/product\/638","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/xcrud.net\/eshop\/wp-json\/wp\/v2\/product"}],"about":[{"href":"https:\/\/xcrud.net\/eshop\/wp-json\/wp\/v2\/types\/product"}],"replies":[{"embeddable":true,"href":"https:\/\/xcrud.net\/eshop\/wp-json\/wp\/v2\/comments?post=638"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/xcrud.net\/eshop\/wp-json\/wp\/v2\/media\/656"}],"wp:attachment":[{"href":"https:\/\/xcrud.net\/eshop\/wp-json\/wp\/v2\/media?parent=638"}],"wp:term":[{"taxonomy":"product_brand","embeddable":true,"href":"https:\/\/xcrud.net\/eshop\/wp-json\/wp\/v2\/product_brand?post=638"},{"taxonomy":"product_cat","embeddable":true,"href":"https:\/\/xcrud.net\/eshop\/wp-json\/wp\/v2\/product_cat?post=638"},{"taxonomy":"product_tag","embeddable":true,"href":"https:\/\/xcrud.net\/eshop\/wp-json\/wp\/v2\/product_tag?post=638"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}