{"id":2879,"date":"2024-08-21T16:59:58","date_gmt":"2024-08-21T16:59:58","guid":{"rendered":"https:\/\/tableberg.com\/?post_type=docs&#038;p=2879"},"modified":"2024-11-11T11:58:11","modified_gmt":"2024-11-11T11:58:11","password":"","slug":"come-rendere-ordinabile-una-tabella-di-wordpress","status":"publish","type":"docs","link":"https:\/\/tableberg.com\/it\/docs\/how-to-make-a-wordpress-table-sortable\/","title":{"rendered":"Come rendere ordinabile una tabella di WordPress"},"content":{"rendered":"\n<p>By enabling the Sorting option to a table, you can allow users to rearrange the data in ascending or descending order, based on the data available on rows and columns. Tableberg allows you to make your table both vertically and horizontally sortable.<\/p>\n\n\n\n<p>Let&#8217;s check how to make a WordPress table sortable with the <a href=\"https:\/\/tableberg.com\/pricing\/\" target=\"_blank\" rel=\"noreferrer noopener\">Tableberg<\/a> plugin.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">How to Enable Vertical Sorting<\/h2>\n\n\n\n<p>Select your entire table by <strong>clicking<\/strong> the <strong>Tableberg icon<\/strong>. Then, <strong>go to<\/strong> the <strong>Settings tab<\/strong> on the right sidebar.<\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter size-full has-custom-border\"><img loading=\"lazy\" decoding=\"async\" width=\"1280\" height=\"654\" src=\"https:\/\/tableberg.com\/wp-content\/uploads\/2024\/08\/Select-your-table-to-make-it-sortable.webp\" alt=\"Select your table to make it sortable\" class=\"wp-image-2880\" style=\"border-width:1px;border-radius:3px\" srcset=\"https:\/\/tableberg.com\/wp-content\/uploads\/2024\/08\/Select-your-table-to-make-it-sortable.webp 1280w, https:\/\/tableberg.com\/wp-content\/uploads\/2024\/08\/Select-your-table-to-make-it-sortable-300x153.webp 300w, https:\/\/tableberg.com\/wp-content\/uploads\/2024\/08\/Select-your-table-to-make-it-sortable-1024x523.webp 1024w, https:\/\/tableberg.com\/wp-content\/uploads\/2024\/08\/Select-your-table-to-make-it-sortable-768x392.webp 768w, https:\/\/tableberg.com\/wp-content\/uploads\/2024\/08\/Select-your-table-to-make-it-sortable-18x9.webp 18w\" sizes=\"auto, (max-width: 1280px) 100vw, 1280px\" \/><\/figure>\n\n\n\n<p>Scrolling down the tab, come to the <strong>[PRO] Sorting <\/strong>section. <strong>Toggle on<\/strong> the option <strong>Enable Vertical Sorting<\/strong>.<\/p>\n\n\n\n<p>You&#8217;ll see the sorting option appear on the top row of the table. By clicking this option, you can now rearrange the table rows.<\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter size-full has-custom-border\"><img loading=\"lazy\" decoding=\"async\" width=\"1280\" height=\"654\" src=\"https:\/\/tableberg.com\/wp-content\/uploads\/2024\/08\/Enable-vertical-sorting.webp\" alt=\"Enable vertical sorting\" class=\"wp-image-2881\" style=\"border-width:1px;border-radius:3px\" srcset=\"https:\/\/tableberg.com\/wp-content\/uploads\/2024\/08\/Enable-vertical-sorting.webp 1280w, https:\/\/tableberg.com\/wp-content\/uploads\/2024\/08\/Enable-vertical-sorting-300x153.webp 300w, https:\/\/tableberg.com\/wp-content\/uploads\/2024\/08\/Enable-vertical-sorting-1024x523.webp 1024w, https:\/\/tableberg.com\/wp-content\/uploads\/2024\/08\/Enable-vertical-sorting-768x392.webp 768w, https:\/\/tableberg.com\/wp-content\/uploads\/2024\/08\/Enable-vertical-sorting-18x9.webp 18w\" sizes=\"auto, (max-width: 1280px) 100vw, 1280px\" \/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">How to Enable Horizontal Sorting<\/h2>\n\n\n\n<p>Similarly, just <strong>toggle on<\/strong> the option <strong>Enable Horizontal Sorting<\/strong>. You&#8217;ll see the sorting option appear in the left column. <\/p>\n\n\n\n<p>Click the sorting icon. You&#8217;ll see the column order is changing.<\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter size-full has-custom-border\"><img loading=\"lazy\" decoding=\"async\" width=\"1280\" height=\"654\" src=\"https:\/\/tableberg.com\/wp-content\/uploads\/2024\/08\/Enable-horizontal-sorting-on-your-table-with-Tableberg.webp\" alt=\"Enable horizontal sorting on your table with Tableberg\" class=\"wp-image-2882\" style=\"border-width:1px;border-radius:3px\" srcset=\"https:\/\/tableberg.com\/wp-content\/uploads\/2024\/08\/Enable-horizontal-sorting-on-your-table-with-Tableberg.webp 1280w, https:\/\/tableberg.com\/wp-content\/uploads\/2024\/08\/Enable-horizontal-sorting-on-your-table-with-Tableberg-300x153.webp 300w, https:\/\/tableberg.com\/wp-content\/uploads\/2024\/08\/Enable-horizontal-sorting-on-your-table-with-Tableberg-1024x523.webp 1024w, https:\/\/tableberg.com\/wp-content\/uploads\/2024\/08\/Enable-horizontal-sorting-on-your-table-with-Tableberg-768x392.webp 768w, https:\/\/tableberg.com\/wp-content\/uploads\/2024\/08\/Enable-horizontal-sorting-on-your-table-with-Tableberg-18x9.webp 18w\" sizes=\"auto, (max-width: 1280px) 100vw, 1280px\" \/><\/figure>\n\n\n\n<p>Thus, you can make your table sortable using the Tableberg plugin.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Conclusion<\/h2>\n\n\n\n<p>When you have lots of rows and columns on your table, by enabling the sorting option, you can help users quickly overview the information on your table and save time. <\/p>\n\n\n\n<p>You may check this post on <a href=\"https:\/\/tableberg.com\/docs\/how-to-duplicate-a-row-column\/\" target=\"_blank\" rel=\"noreferrer noopener\">how to duplicate a row and column<\/a> before closing this post.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>By enabling the Sorting option to a table, you can allow users to rearrange the data in ascending or descending order, based on the data available on rows and columns. Tableberg allows you to make your table both vertically and horizontally sortable. Let&#8217;s check how to make a WordPress table sortable with the Tableberg plugin. [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_eb_attr":"","footnotes":""},"doc_category":[126],"doc_tag":[],"class_list":["post-2879","docs","type-docs","status-publish","hentry","doc_category-functionality-controls"],"year_month":"2026-04","word_count":214,"total_views":0,"reactions":{"happy":0,"normal":0,"sad":0},"author_info":{"name":"Istiak Rayhan","author_nicename":"wpx_irayhan","author_url":"https:\/\/tableberg.com\/it\/author\/wpx_irayhan\/"},"doc_category_info":[{"term_name":"Functionality &amp; Controls","term_url":"https:\/\/tableberg.com\/it\/docs-category\/functionality-controls\/"}],"doc_tag_info":[],"_links":{"self":[{"href":"https:\/\/tableberg.com\/it\/wp-json\/wp\/v2\/docs\/2879","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/tableberg.com\/it\/wp-json\/wp\/v2\/docs"}],"about":[{"href":"https:\/\/tableberg.com\/it\/wp-json\/wp\/v2\/types\/docs"}],"author":[{"embeddable":true,"href":"https:\/\/tableberg.com\/it\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/tableberg.com\/it\/wp-json\/wp\/v2\/comments?post=2879"}],"version-history":[{"count":1,"href":"https:\/\/tableberg.com\/it\/wp-json\/wp\/v2\/docs\/2879\/revisions"}],"predecessor-version":[{"id":2883,"href":"https:\/\/tableberg.com\/it\/wp-json\/wp\/v2\/docs\/2879\/revisions\/2883"}],"wp:attachment":[{"href":"https:\/\/tableberg.com\/it\/wp-json\/wp\/v2\/media?parent=2879"}],"wp:term":[{"taxonomy":"doc_category","embeddable":true,"href":"https:\/\/tableberg.com\/it\/wp-json\/wp\/v2\/doc_category?post=2879"},{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/tableberg.com\/it\/wp-json\/wp\/v2\/doc_tag?post=2879"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}