<?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: Autocast all fields in FeatureTable in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/autocast-all-fields-in-featuretable/m-p/1106790#M74940</link>
    <description>&lt;P&gt;Apparently, this was a CSS issue. The data was being autocast correctly, but put into a div with 0px height.&lt;/P&gt;&lt;P&gt;I was able to solve the problem by adding this to my CSS file.&lt;/P&gt;&lt;LI-CODE lang="css"&gt;.esri-feature-table__content {
	min-height: 200px !important;
}&lt;/LI-CODE&gt;</description>
    <pubDate>Tue, 12 Oct 2021 18:08:02 GMT</pubDate>
    <dc:creator>JeffreyThompson1</dc:creator>
    <dc:date>2021-10-12T18:08:02Z</dc:date>
    <item>
      <title>Autocast all fields in FeatureTable</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/autocast-all-fields-in-featuretable/m-p/1106711#M74932</link>
      <description>&lt;P&gt;The purpose of the FeatureTable I am building is to display unedited data from a public source. According to the documentation, leaving the fieldConfigs blank will autocast all of the fields which is exactly the behavior I want.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="JeffreyThompson1_0-1634051148791.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/25026i01C9568C60AA5B04/image-size/medium?v=v2&amp;amp;px=400" role="button" title="JeffreyThompson1_0-1634051148791.png" alt="JeffreyThompson1_0-1634051148791.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Here is my super simple code:&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;const featureTable = new FeatureTable({
		view: view,
		layer: layer,
		container: "viewDiv",
	});&lt;/LI-CODE&gt;&lt;P&gt;And all I'm getting is the table header:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="JeffreyThompson1_1-1634051282340.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/25029iA9E2EFD218C55683/image-size/medium?v=v2&amp;amp;px=400" role="button" title="JeffreyThompson1_1-1634051282340.png" alt="JeffreyThompson1_1-1634051282340.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;How can I get the columns to Autocast?&lt;/P&gt;</description>
      <pubDate>Tue, 12 Oct 2021 15:10:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/autocast-all-fields-in-featuretable/m-p/1106711#M74932</guid>
      <dc:creator>JeffreyThompson1</dc:creator>
      <dc:date>2021-10-12T15:10:31Z</dc:date>
    </item>
    <item>
      <title>Re: Autocast all fields in FeatureTable</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/autocast-all-fields-in-featuretable/m-p/1106713#M74933</link>
      <description>&lt;P&gt;Do you have the layer to test you are expecting to use?&lt;/P&gt;&lt;P&gt;This sample works without defining the fieldConfigs&lt;/P&gt;&lt;P&gt;&lt;A href="https://codepen.io/odoe/pen/yLoydBb?editors=1000" target="_blank"&gt;https://codepen.io/odoe/pen/yLoydBb?editors=1000&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Autocast means you don't need to new up an instance of the FieldColumnConfig, just pass an object that has the constructor properties.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://developers.arcgis.com/javascript/latest/programming-patterns/#autocasting" target="_blank"&gt;https://developers.arcgis.com/javascript/latest/programming-patterns/#autocasting&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Does your layer have fields other than the ones it says will not be included automatically?&lt;/P&gt;</description>
      <pubDate>Tue, 12 Oct 2021 15:20:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/autocast-all-fields-in-featuretable/m-p/1106713#M74933</guid>
      <dc:creator>ReneRubalcava</dc:creator>
      <dc:date>2021-10-12T15:20:47Z</dc:date>
    </item>
    <item>
      <title>Re: Autocast all fields in FeatureTable</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/autocast-all-fields-in-featuretable/m-p/1106790#M74940</link>
      <description>&lt;P&gt;Apparently, this was a CSS issue. The data was being autocast correctly, but put into a div with 0px height.&lt;/P&gt;&lt;P&gt;I was able to solve the problem by adding this to my CSS file.&lt;/P&gt;&lt;LI-CODE lang="css"&gt;.esri-feature-table__content {
	min-height: 200px !important;
}&lt;/LI-CODE&gt;</description>
      <pubDate>Tue, 12 Oct 2021 18:08:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/autocast-all-fields-in-featuretable/m-p/1106790#M74940</guid>
      <dc:creator>JeffreyThompson1</dc:creator>
      <dc:date>2021-10-12T18:08:02Z</dc:date>
    </item>
  </channel>
</rss>

