<?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>idea Enable Manual Column Width Configuration in ArcGIS Dashboards Table Widgets in ArcGIS Online Ideas</title>
    <link>https://community.esri.com/t5/arcgis-online-ideas/enable-manual-column-width-configuration-in-arcgis/idi-p/1569584</link>
    <description>&lt;P&gt;Currently, column widths in ArcGIS Dashboards table widgets are auto-sized based on the "Fit to element width" or "Fit columns" settings. While this works for basic layouts, it becomes a limitation when specific columns require custom widths. For example, a field like "Fiscal Year" with short text gets disproportionate space compared to a "Description" field containing much longer text.&lt;/P&gt;&lt;P&gt;I propose adding the ability to manually configure column widths directly within the "Column Settings" of table widgets. Users should be able to specify widths in pixels or percentages for each column (e.g., Fiscal Year = 100px, Status = 100px, Description = 300px). This would allow for greater control over the table layout, especially in cases where data visualization requires balanced column sizes.&lt;/P&gt;&lt;P&gt;Benefits:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Improved table aesthetics and readability.&lt;/LI&gt;&lt;LI&gt;Greater flexibility for data presentation.&lt;/LI&gt;&lt;LI&gt;Addresses usability issues when auto-sizing does not allocate space logically.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;This enhancement would save time on workarounds, such as shortening field content or adjusting widget settings to force better sizing.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ArizonaGIS2_0-1734472467431.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/121991iA2F84378B56522D4/image-size/medium?v=v2&amp;amp;px=400" role="button" title="ArizonaGIS2_0-1734472467431.png" alt="ArizonaGIS2_0-1734472467431.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 17 Dec 2024 21:55:29 GMT</pubDate>
    <dc:creator>ArizonaGIS2</dc:creator>
    <dc:date>2024-12-17T21:55:29Z</dc:date>
    <item>
      <title>Enable Manual Column Width Configuration in ArcGIS Dashboards Table Widgets</title>
      <link>https://community.esri.com/t5/arcgis-online-ideas/enable-manual-column-width-configuration-in-arcgis/idi-p/1569584</link>
      <description>&lt;P&gt;Currently, column widths in ArcGIS Dashboards table widgets are auto-sized based on the "Fit to element width" or "Fit columns" settings. While this works for basic layouts, it becomes a limitation when specific columns require custom widths. For example, a field like "Fiscal Year" with short text gets disproportionate space compared to a "Description" field containing much longer text.&lt;/P&gt;&lt;P&gt;I propose adding the ability to manually configure column widths directly within the "Column Settings" of table widgets. Users should be able to specify widths in pixels or percentages for each column (e.g., Fiscal Year = 100px, Status = 100px, Description = 300px). This would allow for greater control over the table layout, especially in cases where data visualization requires balanced column sizes.&lt;/P&gt;&lt;P&gt;Benefits:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Improved table aesthetics and readability.&lt;/LI&gt;&lt;LI&gt;Greater flexibility for data presentation.&lt;/LI&gt;&lt;LI&gt;Addresses usability issues when auto-sizing does not allocate space logically.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;This enhancement would save time on workarounds, such as shortening field content or adjusting widget settings to force better sizing.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ArizonaGIS2_0-1734472467431.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/121991iA2F84378B56522D4/image-size/medium?v=v2&amp;amp;px=400" role="button" title="ArizonaGIS2_0-1734472467431.png" alt="ArizonaGIS2_0-1734472467431.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 17 Dec 2024 21:55:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-ideas/enable-manual-column-width-configuration-in-arcgis/idi-p/1569584</guid>
      <dc:creator>ArizonaGIS2</dc:creator>
      <dc:date>2024-12-17T21:55:29Z</dc:date>
    </item>
    <item>
      <title>Re: Enable Manual Column Width Configuration in ArcGIS Dashboards Table Widgets</title>
      <link>https://community.esri.com/t5/arcgis-online-ideas/enable-manual-column-width-configuration-in-arcgis/idc-p/1572448#M12014</link>
      <description>&lt;P&gt;Nice looking table. I didn't know you could color the fields/ records like this. I realize this isn't the topic of your post but am curious how you did that. I would like to have a color-coded table based on status in a web app.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 03 Jan 2025 16:33:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-ideas/enable-manual-column-width-configuration-in-arcgis/idc-p/1572448#M12014</guid>
      <dc:creator>DeniseWesleyWildlife</dc:creator>
      <dc:date>2025-01-03T16:33:56Z</dc:date>
    </item>
    <item>
      <title>Re: Enable Manual Column Width Configuration in ArcGIS Dashboards Table Widgets</title>
      <link>https://community.esri.com/t5/arcgis-online-ideas/enable-manual-column-width-configuration-in-arcgis/idc-p/1576932#M12070</link>
      <description>&lt;P&gt;Hello Denise,&lt;/P&gt;&lt;P&gt;I'm sorry. I just saw this. I formatted the table within the ArcGIS Dashboard using the arcade expression. You can see the various color codes that trigger the conditional formatting with the cells. Let me know if you have any other questions.&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;// Characters per line before line break
var lineLength = 10

function wrapFieldText(text) {
    text = DefaultValue(text, "") // Ensure it's not null
    var textArray = Split(text, ' ')
    var wrapText = ""
    var words = 0
    var characters = 0

    while (words &amp;lt; Count(textArray)) {
        characters += Count(textArray[words] + " ")
        wrapText += textArray[words] + When(characters &amp;gt;= lineLength, "&amp;lt;br&amp;gt;", " ")
        characters = When(characters &amp;gt;= lineLength, 0, characters)
        words += 1
    }

    return wrapText
}

// Wrap each field
var wrappedAcctDept = wrapFieldText($datapoint.Acct_Dept)
var wrappedStatusName = wrapFieldText($datapoint.Status_Name)
var wrappedProjectName = wrapFieldText($datapoint.Project_Name)
var wrappedDescription = wrapFieldText($datapoint.Description)

// Handle Public_Status as before: if empty, "Future Project"
var ps = $datapoint.Public_Status
ps = When(
  ps == 'Complete', 'Complete',
  ps == 'On Track', 'On Track',
  ps == 'Delayed', 'Delayed',
  !IsEmpty(ps), ps,
  'Future Project'
)
var wrappedPublicStatus = wrapFieldText(ps)

var wrappedFiscalYear = wrapFieldText($datapoint.Fiscal_Year)

return {
  cells: {
    Acct_Dept: {
      displayText: "&amp;lt;b&amp;gt;" + wrappedAcctDept + "&amp;lt;/b&amp;gt;",
      textColor: 'black',
      backgroundColor: IIF($rowindex % 2 == 0, '#e0e0e0', '#f5f5f5'),
      textAlign: 'center',
      iconName: '',
      iconAlign: '',
      iconColor: '',
      iconOutlineColor: ''
    },

    Status_Name: {
      displayText: "&amp;lt;b&amp;gt;" + wrappedStatusName + "&amp;lt;/b&amp;gt;",
      textColor: 'white',
      backgroundColor: When(
        $datapoint.Status_Name == 'Executing', '#66cc66',
        $datapoint.Status_Name == 'Initiating', '#ffcc00',
        $datapoint.Status_Name == 'Planning', '#6699cc',
        $datapoint.Status_Name == 'Requested', '#cc6666',
        'gray'
      ),
      textAlign: 'center',
      iconName: '',
      iconAlign: '',
      iconColor: '',
      iconOutlineColor: ''
    },

    Project_Name: {
      displayText: "&amp;lt;b&amp;gt;" + wrappedProjectName + "&amp;lt;/b&amp;gt;",
      textColor: 'white',
      backgroundColor: When(
        $datapoint.Goals == 'Fiscal &amp;amp; Resource Mgmt.', '#6d6642',
        $datapoint.Goals == 'Economic Vitality', '#03701d',
        $datapoint.Goals == 'Safe &amp;amp; Vibrant Community', '#0057c1',
        $datapoint.Goals == 'Innovation &amp;amp; High Performing Organization', '#ffb700',
        $datapoint.Goals == 'Infrastructure', '#e24301',
        'gray'
      ),
      textAlign: 'left',
      iconName: '',
      iconAlign: '',
      iconColor: '',
      iconOutlineColor: ''
    },

    Description: {
      displayText: "&amp;lt;b&amp;gt;" + wrappedDescription + "&amp;lt;/b&amp;gt;",
      textColor: 'black',
      backgroundColor: IIF($rowindex % 2 == 0, '#e0e0e0', '#f5f5f5'),
      textAlign: 'left',
      iconName: '',
      iconAlign: '',
      iconColor: '',
      iconOutlineColor: ''
    },

    Public_Status: {
      displayText: "&amp;lt;b&amp;gt;" + wrappedPublicStatus + "&amp;lt;/b&amp;gt;",
      textColor: 'white',
      backgroundColor: When(
        ps == 'Complete', '#66cc66',
        ps == 'On Track', '#4A90E2',
        ps == 'Delayed', '#FFA500',
        ps == 'Future Project', '#CCCCCC',
        '#6699cc'
      ),
      textAlign: 'center',
      iconName: '',
      iconAlign: '',
      iconColor: '',
      iconOutlineColor: ''
    },

    Fiscal_Year: {
      displayText: "&amp;lt;b&amp;gt;" + wrappedFiscalYear + "&amp;lt;/b&amp;gt;",
      textColor: 'black',
      backgroundColor: IIF($rowindex % 2 == 0, '#e0e0e0', '#f5f5f5'),
      textAlign: 'center',
      iconName: '',
      iconAlign: '',
      iconColor: '',
      iconOutlineColor: ''
    }
  }
}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 17 Jan 2025 20:22:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-ideas/enable-manual-column-width-configuration-in-arcgis/idc-p/1576932#M12070</guid>
      <dc:creator>ArizonaGIS2</dc:creator>
      <dc:date>2025-01-17T20:22:16Z</dc:date>
    </item>
  </channel>
</rss>

