<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Dashboard Table - customize element width - Fit To Data/Fit To Element in ArcGIS Dashboards Questions</title>
    <link>https://community.esri.com/t5/arcgis-dashboards-questions/dashboard-table-customize-element-width-fit-to/m-p/1632047#M11285</link>
    <description>&lt;DIV&gt;&lt;SPAN&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/673552"&gt;@EmileeFreeman&lt;/a&gt;&amp;nbsp;Replace field_name with your field name and then in the return/display text put shortText2,&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;var&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;raw2&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;=&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;$datapoint&lt;/SPAN&gt;&lt;SPAN&gt;[&lt;/SPAN&gt;&lt;SPAN&gt;"field_name"&lt;/SPAN&gt;&lt;SPAN&gt;];&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;var&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;text2&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;=&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;When&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;IsEmpty&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;raw2&lt;/SPAN&gt;&lt;SPAN&gt;),&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;""&lt;/SPAN&gt;&lt;SPAN&gt;,&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;Text&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;raw2&lt;/SPAN&gt;&lt;SPAN&gt;));&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;var&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;shortText2&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;=&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;IIF&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;Count&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;text2&lt;/SPAN&gt;&lt;SPAN&gt;) &amp;gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;50&lt;/SPAN&gt;&lt;SPAN&gt;,&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;Left&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;text2&lt;/SPAN&gt;&lt;SPAN&gt;,&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;50&lt;/SPAN&gt;&lt;SPAN&gt;) +&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;"..."&lt;/SPAN&gt;&lt;SPAN&gt;,&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;text2&lt;/SPAN&gt;&lt;SPAN&gt;);&lt;/SPAN&gt;&lt;/DIV&gt;&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://community.esri.com/t5/arcgis-dashboards-ideas/need-dashboard-word-wrap-to-table-cell-contents/idc-p/1630112#M2858" target="_blank" rel="noopener"&gt;Need Dashboard Word Wrap to table cell contents an... - Esri Community&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 10 Jul 2025 15:31:30 GMT</pubDate>
    <dc:creator>VictoriaDavis1</dc:creator>
    <dc:date>2025-07-10T15:31:30Z</dc:date>
    <item>
      <title>Dashboard Table - customize element width - Fit To Data/Fit To Element</title>
      <link>https://community.esri.com/t5/arcgis-dashboards-questions/dashboard-table-customize-element-width-fit-to/m-p/1408643#M9399</link>
      <description>&lt;P&gt;Is it possible to set a table element size within the arcade code?&lt;/P&gt;&lt;P&gt;I currently have my dashboard table set up to &lt;STRONG&gt;&lt;EM&gt;fit to data&lt;/EM&gt;&lt;/STRONG&gt;. But I am seeing some issues with this layout. When there is an abnormally long description for the location, it pushes the fields to the far right end off the screen. I enabled hover text so that they can hover to see the full text as a work around. I tried changing the layout to &lt;STRONG&gt;&lt;EM&gt;fit to element&lt;/EM&gt;&lt;/STRONG&gt;, which sets each column to an equal size. In doing so, columns like the first two that should be much narrower since they’re a single numeric values, are the same size as all the others. Not ideal..&amp;nbsp; &amp;nbsp;&lt;/P&gt;&lt;P&gt;It would be nice to set each column width manually within arcade and then utilize hover text for those records that are greater than the visible width.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;An alternate would be to try and wrap text within the location column if it is over a certain length.&lt;/P&gt;&lt;P&gt;Please share if you have any alternate ideas!&amp;nbsp;&lt;/P&gt;&lt;P&gt;FIT TO DATA:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Walker_Max_0-1712855810556.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/100701i3FC7829B9D9FC88E/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Walker_Max_0-1712855810556.png" alt="Walker_Max_0-1712855810556.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;FIT TO ELEMENT:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Walker_Max_1-1712855810563.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/100702i7854161194506121/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Walker_Max_1-1712855810563.png" alt="Walker_Max_1-1712855810563.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 11 Apr 2024 17:23:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-dashboards-questions/dashboard-table-customize-element-width-fit-to/m-p/1408643#M9399</guid>
      <dc:creator>Walker_Max</dc:creator>
      <dc:date>2024-04-11T17:23:51Z</dc:date>
    </item>
    <item>
      <title>Re: Dashboard Table - customize element width - Fit To Data/Fit To Element</title>
      <link>https://community.esri.com/t5/arcgis-dashboards-questions/dashboard-table-customize-element-width-fit-to/m-p/1589935#M10806</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;This is a bit of a late response, but I had the same problem and discovered at least how to wrap the text!&lt;BR /&gt;&lt;BR /&gt;In the "Values" section of the Table configuration, you can enable "Advanced formatting". This looks a bit onerous to begin with, but it's relatively simple. Each column is represented by a bunch of settings, and each bunch of settings is grouped under your column header field name.&lt;/P&gt;&lt;P&gt;Find the one you want, and where is says "displayText : $datapoint.&lt;STRONG&gt;&lt;EM&gt;your_value_here&lt;/EM&gt;&lt;/STRONG&gt;" you can add the following (take all the characters on the next line):&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;`&amp;lt;div style="text-wrap: wrap;"&amp;gt;${&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;put that before "$datapoint.&lt;STRONG&gt;&lt;EM&gt;your_value_here&lt;/EM&gt;&lt;/STRONG&gt;"&lt;BR /&gt;then put the following after:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;}&amp;lt;/div&amp;gt;`&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;the whole line should look like this:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;displayText&lt;/SPAN&gt;&lt;SPAN&gt; : &lt;/SPAN&gt;&lt;SPAN&gt;`&amp;lt;div style="text-wrap: wrap;"&amp;gt;&lt;/SPAN&gt;&lt;SPAN&gt;${$datapoint.&lt;STRONG&gt;&lt;EM&gt;your_value_here&lt;/EM&gt;&lt;/STRONG&gt;}&amp;lt;/div&amp;gt;`,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;That should make the text of that column wrap.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;I hope that is helpful.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Bill&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Thu, 27 Feb 2025 09:49:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-dashboards-questions/dashboard-table-customize-element-width-fit-to/m-p/1589935#M10806</guid>
      <dc:creator>BillSands</dc:creator>
      <dc:date>2025-02-27T09:49:11Z</dc:date>
    </item>
    <item>
      <title>Re: Dashboard Table - customize element width - Fit To Data/Fit To Element</title>
      <link>https://community.esri.com/t5/arcgis-dashboards-questions/dashboard-table-customize-element-width-fit-to/m-p/1614176#M11097</link>
      <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="VictoriaDavis1_0-1747158012126.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/132082i0D34FEF3EE5036B9/image-size/medium?v=v2&amp;amp;px=400" role="button" title="VictoriaDavis1_0-1747158012126.png" alt="VictoriaDavis1_0-1747158012126.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;now my table rows are way too tall. any suggestions?&lt;/P&gt;</description>
      <pubDate>Tue, 13 May 2025 17:40:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-dashboards-questions/dashboard-table-customize-element-width-fit-to/m-p/1614176#M11097</guid>
      <dc:creator>VictoriaDavis1</dc:creator>
      <dc:date>2025-05-13T17:40:32Z</dc:date>
    </item>
    <item>
      <title>Re: Dashboard Table - customize element width - Fit To Data/Fit To Element</title>
      <link>https://community.esri.com/t5/arcgis-dashboards-questions/dashboard-table-customize-element-width-fit-to/m-p/1615672#M11108</link>
      <description>&lt;P&gt;Having the same issue now. Did you find a solution to this?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 16 May 2025 20:54:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-dashboards-questions/dashboard-table-customize-element-width-fit-to/m-p/1615672#M11108</guid>
      <dc:creator>EmileeFreeman</dc:creator>
      <dc:date>2025-05-16T20:54:26Z</dc:date>
    </item>
    <item>
      <title>Re: Dashboard Table - customize element width - Fit To Data/Fit To Element</title>
      <link>https://community.esri.com/t5/arcgis-dashboards-questions/dashboard-table-customize-element-width-fit-to/m-p/1632047#M11285</link>
      <description>&lt;DIV&gt;&lt;SPAN&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/673552"&gt;@EmileeFreeman&lt;/a&gt;&amp;nbsp;Replace field_name with your field name and then in the return/display text put shortText2,&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;var&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;ra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lt;SPAN&gt;,&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;Left&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;text2&lt;/SPAN&gt;&lt;SPAN&gt;,&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;50&lt;/SPAN&gt;&lt;SPAN&gt;) +&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;"..."&lt;/SPAN&gt;&lt;SPAN&gt;,&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;text2&lt;/SPAN&gt;&lt;SPAN&gt;);&lt;/SPAN&gt;&lt;/DIV&gt;&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://community.esri.com/t5/arcgis-dashboards-ideas/need-dashboard-word-wrap-to-table-cell-contents/idc-p/1630112#M2858" target="_blank" rel="noopener"&gt;Need Dashboard Word Wrap to table cell contents an... - Esri Community&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 10 Jul 2025 15:31:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-dashboards-questions/dashboard-table-customize-element-width-fit-to/m-p/1632047#M11285</guid>
      <dc:creator>VictoriaDavis1</dc:creator>
      <dc:date>2025-07-10T15:31:30Z</dc:date>
    </item>
  </channel>
</rss>

