{"id":120,"date":"2022-05-10T15:38:08","date_gmt":"2022-05-10T15:38:08","guid":{"rendered":"https:\/\/digitaldocumentation.wustl.edu\/web-design-system-documentation\/?page_id=120"},"modified":"2024-10-02T14:41:42","modified_gmt":"2024-10-02T14:41:42","slug":"table","status":"publish","type":"page","link":"https:\/\/digitaldocumentation.wustl.edu\/doc-central\/blocks\/table\/","title":{"rendered":"Table"},"content":{"rendered":"\n<p class=\"is-style-lead\">The table block is an effective tool for displaying structured information, making it easier to compare and analyze content.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">When to use the table block<\/h2>\n\n\n\n<p><strong>To organize data: <\/strong><br>Use tables to present structured content that allows for easy comparison\/correlation.<\/p>\n\n\n\n<p><strong>Comparison tasks:<\/strong> <br>If users need to compare adjacent content quickly.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Example: Spring Registration Schedule<\/h3>\n\n\n\n<figure class=\"wp-block-table\"><table><thead><tr><th>Date<\/th><th>Undergraduate<\/th><th>Graduate<\/th><\/tr><\/thead><tbody><tr><td>November 6, 2024<\/td><td>Continuing &amp; Professional Studies<\/td><td>Continuing &amp; Professional Studies<br>Engineering<br>Engineering Sever Institute<\/td><\/tr><tr><td>November 7, 2024<\/td><td><\/td><td>Arts &amp; Sciences<br>Sam Fox<br>Master of Public Health \u2013 2nd &amp; 3rd Year<br>Non-MD WUSM programs<\/td><\/tr><tr><td>November 8, 2024<\/td><td>Class of 2025 or Earlier<\/td><td>Master of Social Work \u2013&nbsp; 2nd &amp; 3rd Year<\/td><\/tr><tr><td>November 11, 2024<\/td><td>Class of 2026<\/td><td><\/td><\/tr><tr><td>November 12, 2024<\/td><td>Class of 2027<\/td><td>Master of Public Health \u2013 1st Year<\/td><\/tr><tr><td>November 13, 2024<\/td><td>Class of 2028<\/td><td>Master of Social Work \u2013 1st Year<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">When <em>not<\/em> to use the table block<\/h2>\n\n\n\n<p><strong>Non-tabular information<\/strong>: <br>Do not use tables for layout designs or lists; opt for the <a href=\"https:\/\/digitaldocumentation.wustl.edu\/doc-central\/blocks\/listing\/\">listing block<\/a> or <a href=\"https:\/\/digitaldocumentation.wustl.edu\/doc-central\/blocks\/list\/\">list block<\/a> instead.<\/p>\n\n\n\n<p><strong>Wordy content<\/strong>: <br>For lengthy text or narratives, use traditional <a href=\"https:\/\/digitaldocumentation.wustl.edu\/doc-central\/blocks\/heading\/\">headings<\/a> and <a href=\"https:\/\/digitaldocumentation.wustl.edu\/doc-central\/blocks\/paragraph\/\">paragraphs<\/a>.<\/p>\n\n\n\n<p><strong>Better visualization needed<\/strong>: <br>If the data is best represented as a <a href=\"https:\/\/digitaldocumentation.wustl.edu\/doc-central\/blocks\/infographics\/\">chart or infographic<\/a>, choose those formats instead.<\/p>\n\n\n\n<div style=\"height:24px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<div class=\"wp-block-group has-grey-background-color has-background is-layout-constrained wp-block-group-is-layout-constrained\" style=\"padding-top:var(--wp--preset--spacing--60);padding-right:var(--wp--preset--spacing--60);padding-bottom:var(--wp--preset--spacing--60);padding-left:var(--wp--preset--spacing--60)\">\n<div class=\"wp-block-columns is-style-borders is-layout-flex wp-container-core-columns-is-layout-1 wp-block-columns-is-layout-flex\">\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\">\n<h3 class=\"wp-block-heading\">Best practices <\/h3>\n\n\n\n<p><strong>Clear headers<\/strong>: <br>Always set the top row as the header and use concise labels.<\/p>\n\n\n\n<p><strong>Minimize columns<\/strong>: <br>Limit the number of columns to enhance readability.<\/p>\n\n\n\n<p><strong>Avoid empty cells<\/strong>: <br>Don\u2019t leave header cells empty; use appropriate placeholders instead.<\/p>\n<\/div>\n\n\n\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\">\n<h3 class=\"wp-block-heading\">Usability<\/h3>\n\n\n\n<p><strong>Mobile experience<\/strong>:<br>Tables may not display well on mobile devices, potentially leading to a poor user experience.<\/p>\n\n\n\n<p><strong>Cluttered appearance<\/strong>: <br>Excessive text can make tables hard to read. Keep entries concise.<\/p>\n\n\n\n<p><strong>Accessibility issues<\/strong>: <br>Complex tables can confuse users of assistive technologies if not formatted correctly.<\/p>\n<\/div>\n<\/div>\n<\/div>\n\n\n\n<h2 class=\"wp-block-heading\">How to add a table block<\/h2>\n\n\n\n<ol>\n<li>In the <strong>Page Editor,<\/strong> navigate to the area of the page where you want the block to display.<\/li>\n\n\n\n<li>Click on the Add block icon [+] and select\/search for&nbsp;<strong>Table<\/strong>&nbsp;from the block menu.<\/li>\n\n\n\n<li>By default, the column count will be populated with 3 and the row count will be populated with 2. Make any necessary adjustments and click <strong>Create Table.<\/strong><\/li>\n\n\n\n<li>Type your content in the table cells.<\/li>\n\n\n\n<li>To edit the number of columns and rows, click anywhere in the table area to activate the table editor. Click <strong>Edit table<\/strong> icon (four-square grid).<\/li>\n\n\n\n<li>Click <strong>Update<\/strong> in the upper right sidebar of the <strong>Page Editor<\/strong> to save your changes.<\/li>\n<\/ol>\n\n\n\n<h6 class=\"wp-block-heading\">the table editor upon selection<\/h6>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"761\" height=\"262\" src=\"https:\/\/digitaldocumentation.wustl.edu\/doc-central\/wp-content\/uploads\/sites\/2\/2024\/09\/Table-1.png\" alt=\"\" class=\"wp-image-2027\" srcset=\"https:\/\/digitaldocumentation.wustl.edu\/doc-central\/wp-content\/uploads\/sites\/2\/2024\/09\/Table-1.png 761w, https:\/\/digitaldocumentation.wustl.edu\/doc-central\/wp-content\/uploads\/sites\/2\/2024\/09\/Table-1-300x103.png 300w\" sizes=\"(max-width: 761px) 100vw, 761px\" \/><\/figure>\n\n\n\n<h6 class=\"wp-block-heading\">the Edit table icon<\/h6>\n\n\n\n<figure class=\"wp-block-image size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"201\" src=\"https:\/\/digitaldocumentation.wustl.edu\/doc-central\/wp-content\/uploads\/sites\/2\/2024\/09\/Table-Editor-1024x201.png\" alt=\"Screenshot of table editor\" class=\"wp-image-2019\" style=\"width:750px;height:auto\" srcset=\"https:\/\/digitaldocumentation.wustl.edu\/doc-central\/wp-content\/uploads\/sites\/2\/2024\/09\/Table-Editor-1024x201.png 1024w, https:\/\/digitaldocumentation.wustl.edu\/doc-central\/wp-content\/uploads\/sites\/2\/2024\/09\/Table-Editor-300x59.png 300w, https:\/\/digitaldocumentation.wustl.edu\/doc-central\/wp-content\/uploads\/sites\/2\/2024\/09\/Table-Editor-768x150.png 768w, https:\/\/digitaldocumentation.wustl.edu\/doc-central\/wp-content\/uploads\/sites\/2\/2024\/09\/Table-Editor-1536x301.png 1536w, https:\/\/digitaldocumentation.wustl.edu\/doc-central\/wp-content\/uploads\/sites\/2\/2024\/09\/Table-Editor.png 1552w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>The table block is an effective tool for displaying structured information, making it easier to compare and analyze content. When to use the table block To organize data: Use tables to present structured content that allows for easy comparison\/correlation. Comparison tasks: If users need to compare adjacent content quickly. Example: Spring Registration Schedule Date Undergraduate [&hellip;]<\/p>\n","protected":false},"author":11,"featured_media":0,"parent":65,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v19.14 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Table - Doc Central<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/digitaldocumentation.wustl.edu\/doc-central\/blocks\/table\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Table - Doc Central\" \/>\n<meta property=\"og:description\" content=\"The table block is an effective tool for displaying structured information, making it easier to compare and analyze content. When to use the table block To organize data: Use tables to present structured content that allows for easy comparison\/correlation. Comparison tasks: If users need to compare adjacent content quickly. Example: Spring Registration Schedule Date Undergraduate [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/digitaldocumentation.wustl.edu\/doc-central\/blocks\/table\/\" \/>\n<meta property=\"og:site_name\" content=\"Doc Central\" \/>\n<meta property=\"article:modified_time\" content=\"2024-10-02T14:41:42+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/digitaldocumentation.wustl.edu\/doc-central\/wp-content\/uploads\/sites\/2\/2024\/09\/Table-1.png\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/digitaldocumentation.wustl.edu\/doc-central\/blocks\/table\/\",\"url\":\"https:\/\/digitaldocumentation.wustl.edu\/doc-central\/blocks\/table\/\",\"name\":\"Table - Doc Central\",\"isPartOf\":{\"@id\":\"https:\/\/digitaldocumentation.wustl.edu\/doc-central\/#website\"},\"datePublished\":\"2022-05-10T15:38:08+00:00\",\"dateModified\":\"2024-10-02T14:41:42+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/digitaldocumentation.wustl.edu\/doc-central\/blocks\/table\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/digitaldocumentation.wustl.edu\/doc-central\/blocks\/table\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/digitaldocumentation.wustl.edu\/doc-central\/blocks\/table\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/digitaldocumentation.wustl.edu\/doc-central\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Blocks\",\"item\":\"https:\/\/digitaldocumentation.wustl.edu\/doc-central\/blocks\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Table\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/digitaldocumentation.wustl.edu\/doc-central\/#website\",\"url\":\"https:\/\/digitaldocumentation.wustl.edu\/doc-central\/\",\"name\":\"Doc Central\",\"description\":\"Just another digitaldocumentation.wustl.edu Sites site\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/digitaldocumentation.wustl.edu\/doc-central\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Table - Doc Central","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/digitaldocumentation.wustl.edu\/doc-central\/blocks\/table\/","og_locale":"en_US","og_type":"article","og_title":"Table - Doc Central","og_description":"The table block is an effective tool for displaying structured information, making it easier to compare and analyze content. When to use the table block To organize data: Use tables to present structured content that allows for easy comparison\/correlation. Comparison tasks: If users need to compare adjacent content quickly. Example: Spring Registration Schedule Date Undergraduate [&hellip;]","og_url":"https:\/\/digitaldocumentation.wustl.edu\/doc-central\/blocks\/table\/","og_site_name":"Doc Central","article_modified_time":"2024-10-02T14:41:42+00:00","og_image":[{"url":"https:\/\/digitaldocumentation.wustl.edu\/doc-central\/wp-content\/uploads\/sites\/2\/2024\/09\/Table-1.png"}],"twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/digitaldocumentation.wustl.edu\/doc-central\/blocks\/table\/","url":"https:\/\/digitaldocumentation.wustl.edu\/doc-central\/blocks\/table\/","name":"Table - Doc Central","isPartOf":{"@id":"https:\/\/digitaldocumentation.wustl.edu\/doc-central\/#website"},"datePublished":"2022-05-10T15:38:08+00:00","dateModified":"2024-10-02T14:41:42+00:00","breadcrumb":{"@id":"https:\/\/digitaldocumentation.wustl.edu\/doc-central\/blocks\/table\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/digitaldocumentation.wustl.edu\/doc-central\/blocks\/table\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/digitaldocumentation.wustl.edu\/doc-central\/blocks\/table\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/digitaldocumentation.wustl.edu\/doc-central\/"},{"@type":"ListItem","position":2,"name":"Blocks","item":"https:\/\/digitaldocumentation.wustl.edu\/doc-central\/blocks\/"},{"@type":"ListItem","position":3,"name":"Table"}]},{"@type":"WebSite","@id":"https:\/\/digitaldocumentation.wustl.edu\/doc-central\/#website","url":"https:\/\/digitaldocumentation.wustl.edu\/doc-central\/","name":"Doc Central","description":"Just another digitaldocumentation.wustl.edu Sites site","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/digitaldocumentation.wustl.edu\/doc-central\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"}]}},"distributor_meta":false,"distributor_terms":false,"distributor_media":false,"distributor_original_site_name":"Doc Central","distributor_original_site_url":"https:\/\/digitaldocumentation.wustl.edu\/doc-central","push-errors":false,"_links":{"self":[{"href":"https:\/\/digitaldocumentation.wustl.edu\/doc-central\/wp-json\/wp\/v2\/pages\/120"}],"collection":[{"href":"https:\/\/digitaldocumentation.wustl.edu\/doc-central\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/digitaldocumentation.wustl.edu\/doc-central\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/digitaldocumentation.wustl.edu\/doc-central\/wp-json\/wp\/v2\/users\/11"}],"replies":[{"embeddable":true,"href":"https:\/\/digitaldocumentation.wustl.edu\/doc-central\/wp-json\/wp\/v2\/comments?post=120"}],"version-history":[{"count":23,"href":"https:\/\/digitaldocumentation.wustl.edu\/doc-central\/wp-json\/wp\/v2\/pages\/120\/revisions"}],"predecessor-version":[{"id":2103,"href":"https:\/\/digitaldocumentation.wustl.edu\/doc-central\/wp-json\/wp\/v2\/pages\/120\/revisions\/2103"}],"up":[{"embeddable":true,"href":"https:\/\/digitaldocumentation.wustl.edu\/doc-central\/wp-json\/wp\/v2\/pages\/65"}],"wp:attachment":[{"href":"https:\/\/digitaldocumentation.wustl.edu\/doc-central\/wp-json\/wp\/v2\/media?parent=120"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}