<?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: How to customize FeatureTable column and row size in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-customize-featuretable-column-and-row-size/m-p/1122618#M75471</link>
    <description>&lt;P&gt;Wonderful, thank you&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/439600"&gt;@rpavuluri&lt;/a&gt;&amp;nbsp;for this fix! This works great using 4.21. Will continue to monitor in future releases. As an example, here it is implemented in the &lt;A href="https://developers.arcgis.com/javascript/latest/sample-code/sandbox/?sample=widgets-featuretable-map" target="_self"&gt;FeatureTable widget with a map&lt;/A&gt; example:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screen Shot 2021-12-03 at 1.47.48 PM.png" style="width: 999px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/28803iF26ED12DF4EF9251/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screen Shot 2021-12-03 at 1.47.48 PM.png" alt="Screen Shot 2021-12-03 at 1.47.48 PM.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 03 Dec 2021 18:50:47 GMT</pubDate>
    <dc:creator>Caitlin_Dickinson</dc:creator>
    <dc:date>2021-12-03T18:50:47Z</dc:date>
    <item>
      <title>How to customize FeatureTable column and row size</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-customize-featuretable-column-and-row-size/m-p/1059996#M73219</link>
      <description>&lt;P&gt;&lt;SPAN&gt;I’d like to set the default width of columns and height of the rows in the FeatureTable widget to accommodate more of the text in an attribute field. All of the sample code examples have the overflow text hidden, and no wrapping enabled:&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="Screen Shot 2021-05-20 at 11.43.04 AM.png" style="width: 999px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/13765i2426AED2CA62E6D2/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screen Shot 2021-05-20 at 11.43.04 AM.png" alt="Screen Shot 2021-05-20 at 11.43.04 AM.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I am using the FeatureTable widget without a map, so one cannot click on a feature to view a popup that contains the full attribute text.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;My questions are: is it possible to either (a) set the default width and height of all rows, or (b) have them dynamically change height to fit the text in a given column? I’ve poked around a bit in the CSS, and it seems that this is not controlled by the esri-grid, esri-widget, esri-grid__content, or esri-grid__grid classes. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks for your help!&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 20 May 2021 15:47:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-customize-featuretable-column-and-row-size/m-p/1059996#M73219</guid>
      <dc:creator>Caitlin_Dickinson</dc:creator>
      <dc:date>2021-05-20T15:47:31Z</dc:date>
    </item>
    <item>
      <title>Re: How to customize FeatureTable column and row size</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-customize-featuretable-column-and-row-size/m-p/1112308#M75119</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/330465"&gt;@Caitlin_Dickinson&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;I am assuming you are referring to JSAPI 4.x. The following css snippet helped me with b) using 4.21 version. FYI, this might break with a new JSAPI release.&lt;/P&gt;&lt;P&gt;vaadin-grid-cell-content {&lt;BR /&gt;&amp;nbsp; &amp;nbsp;white-space: normal !important;&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 29 Oct 2021 02:20:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-customize-featuretable-column-and-row-size/m-p/1112308#M75119</guid>
      <dc:creator>rpavuluri</dc:creator>
      <dc:date>2021-10-29T02:20:28Z</dc:date>
    </item>
    <item>
      <title>Re: How to customize FeatureTable column and row size</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-customize-featuretable-column-and-row-size/m-p/1122618#M75471</link>
      <description>&lt;P&gt;Wonderful, thank you&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/439600"&gt;@rpavuluri&lt;/a&gt;&amp;nbsp;for this fix! This works great using 4.21. Will continue to monitor in future releases. As an example, here it is implemented in the &lt;A href="https://developers.arcgis.com/javascript/latest/sample-code/sandbox/?sample=widgets-featuretable-map" target="_self"&gt;FeatureTable widget with a map&lt;/A&gt; example:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screen Shot 2021-12-03 at 1.47.48 PM.png" style="width: 999px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/28803iF26ED12DF4EF9251/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screen Shot 2021-12-03 at 1.47.48 PM.png" alt="Screen Shot 2021-12-03 at 1.47.48 PM.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 03 Dec 2021 18:50:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-customize-featuretable-column-and-row-size/m-p/1122618#M75471</guid>
      <dc:creator>Caitlin_Dickinson</dc:creator>
      <dc:date>2021-12-03T18:50:47Z</dc:date>
    </item>
  </channel>
</rss>

