<?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: AttributeInspector with customField is not working correctly in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/attributeinspector-with-customfield-is-not-working/m-p/149605#M13927</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Has anyone worked with attempting to customize the fields in the AttributeInspector?&amp;nbsp; All I need is to format the number value for integer ID fields.&amp;nbsp; By default the AttributeInspector formats any integer values with commas&amp;nbsp; This does not work for us since the users are not accustomed to viewing ID values as comma seperated integer values.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It seems to me like there is an issue with maintaining a constant display of the values when implementing the customField using a dijit textbox (as described in the original post).&amp;nbsp; Since my last post I have attempted to get this to work consistently and have had NO success.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In an attempt to provide you more information I am attaching some screen shots.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;AttributeInspector_Default.png &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The defualt state of the attributeInspector if I do not set a custom field. Note the following:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;1) GAZ_ID and FCode fields are inteteger fields in the database. These are the ID values and I would like to format without commas&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2) I set the GAZ_ID field as not editable in the FieldInfos &lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_macro_code jive_text_macro"&gt;fieldInfos.push({ 'fieldName': 'GAZ_ID', 'isEditable': false, 'label': 'GAZ ID'});&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;AttributeInspector_SetCustomField_Good.png&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;This how the AttributeInspector looks like when I set a customField as described in the post above using a new dijit.form.NumberTextBox and passing in the pattern/formatting.&amp;nbsp; Note the following:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;1) The ID fields mentioned above display correctly (without commas)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2) looks like something is "wrong" with the setting of the customField because I have indicated that the GAZ_ID field is not editable, YET the input box allows editing .. it is not greyed out (I have tried both editable and not just incase).&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;3) After closing the UI and opening again, I loose the link between the data and the customFields (see below).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;AttributeInspector_SetCustomField_Bad.png&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;This is how the AttributeInspector looks like after I close it and open it again for the second time (or anytime after).&amp;nbsp; Note the following:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;1) The ID fields mentioned above no longer have any data displayed&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2) I have reviewed the objects and have confirmed that the data is still there (graphic.attributes.GAZ_ID and graphic.attributes.FCODE)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;3) I thought that there was an issue with CSS so I forced a height on the custom dijit and I confirmed that there was no data being displayed&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;4) I must close the entire applicaiton and open it again in order to view the attributes again. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;ESRI/Others, have you seen similar results? If not, can someone please point me in the correct direction on how to format an integer value in the AttributeInspector?&amp;nbsp; I am aware that the PopupTemplate has the .format option for the fieldInfos but the AttributeInspector is lacking this option.&amp;nbsp; However I am assuming that is why they have exposed the .customField option.&amp;nbsp; Is this a bug or just some formatting/properties that I am missing? &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any help is much appreciated.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 04 Feb 2013 15:57:00 GMT</pubDate>
    <dc:creator>DianaBenedict</dc:creator>
    <dc:date>2013-02-04T15:57:00Z</dc:date>
    <item>
      <title>AttributeInspector with customField is not working correctly</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/attributeinspector-with-customfield-is-not-working/m-p/149604#M13926</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Problem:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Require the AttributeInspector to display number values without commas.&amp;nbsp; For example a number value looks as so with the "out of the box" TextBox (11,245) however I need them to look like ID values with NO commas (11245).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Solution:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Create a custom dijit NumberTextbox, set the pattern to display numbers with no commas and set the fieldInfo customField property for the desired attribute field.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Issue:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;At first it appears as though the customField that was specified for the desired field displays correctly (no commas). However, after several times of displaying the attributeInspector, the link between the data and customField gets lost and the data for the customField is no longer displayed.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Background:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The following is the constructor for the AttributeInsector:&amp;nbsp; esri.dijit.AttributeInspector(params, srcNodeRef)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The params input allows you to specify a set of Options including layerInfos.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Within the layerInfos options, you can specify the fieldInfos of interest for each featureLayer.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Within the fieldInfos options, you can specify field information such as name, label, isEditable, etc...&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;There is an additiona fieldInfos option called customField.&amp;nbsp; This option allows you to specify a custom dojo dijit for the selected field.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I essentially followed the similar example as posted on the esri samples page &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://help.arcgis.com/en/webapi/javascript/arcgis/jssamples/#sample/ed_attributeinspectorvalidate" rel="nofollow" target="_blank"&gt;http://help.arcgis.com/en/webapi/javascript/arcgis/jssamples/#sample/ed_attributeinspectorvalidate&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The steps that I followed are:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;1) instantiate the FeatureLayer&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2) after "onLayersAddResult" I call the initializeEditor code&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;3) within the initializeEditor method I create the custom digit (see code below)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;4) create the fieldInfos array&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;5) set up the layerInfos and passing in the fieldInfos&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;6) instantiate the attributeInspector object and passing in the layerInfos&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;At first everything looked great.&amp;nbsp; The AttributeInspector is configured as I indicated.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The customField that I created looks great. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The number/text within the custom dijit NumberTextbox is formated to my specifications, etc...&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;However, once I close the AttributeInspector and open it again, the customField is no longer visible.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;There is no height .. it just looks like a line. So I figured that I would go ahead and add some CSS to fix the issue, initially I added the class: "atiField" option so that the NumberTextbox renders like all the other textboxes. Then I did a quick "hack" by specifying the following CSS&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;.esriAttributeInspector .dijitNumberTextBox { width:30em;height:5em;}&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This was done to force the NumberTextBox to have a height but there was no data.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I seems to me like at some point the link between the data and the customField gets "lost".&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;All the other fields that are NOT custom look great .. no problems.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I have tried different ways to force the refresh of the customField and attributeInspector but have had the same results.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I even tried the AMD method of creating the dijit ... nothing.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If I refresh the entire application, and display the AttributeInspector, all looks great again.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;But once the AttributeInspector is closed and opened again with new data I get the same issue.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Does anyone have suggestions on what could be causing this? Has anyone encountered a similar issue?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Currently the only solution that I can find is to DESTROY the AttributeInspector &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;each time it is closed and create it again .. though I think this is very "heavy handed" and would prefer not to have to do this.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Below is the pertinent code that I used to set up the fieldInfos for the AttributeInspector:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;&amp;nbsp; var fieldInfos = []; &amp;nbsp;&amp;nbsp;&amp;nbsp; var props = { &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; class: "atiField", &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; constraints: { 'pattern': "#", 'places':0, 'max':999999999999999, 'min':0 } &amp;nbsp;&amp;nbsp;&amp;nbsp; }; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; fieldInfos.push({ 'fieldName': 'GAZ_ID',&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 'isEditable': true,&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 'label': 'GAZ ID',&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 'customField': new dijit.form.NumberTextBox(props)} &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ); &amp;nbsp;&amp;nbsp;&amp;nbsp; fieldInfos.push({ 'fieldName': 'NAME', 'isEditable': true, 'label': 'Name' });&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; var layerInfos = { 'featureLayer': flayer,&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 'fieldInfos': fieldInfos,&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 'isEditable': true,&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 'showDeleteButton': true } &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; //set up the attribute inspector &amp;nbsp;&amp;nbsp;&amp;nbsp; var attInspector = new esri.dijit.AttributeInspector({ &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; layerInfos: layerInfos &amp;nbsp;&amp;nbsp;&amp;nbsp; }, "attributeDiv"); &lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Feb 2013 15:06:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/attributeinspector-with-customfield-is-not-working/m-p/149604#M13926</guid>
      <dc:creator>DianaBenedict</dc:creator>
      <dc:date>2013-02-01T15:06:01Z</dc:date>
    </item>
    <item>
      <title>Re: AttributeInspector with customField is not working correctly</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/attributeinspector-with-customfield-is-not-working/m-p/149605#M13927</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Has anyone worked with attempting to customize the fields in the AttributeInspector?&amp;nbsp; All I need is to format the number value for integer ID fields.&amp;nbsp; By default the AttributeInspector formats any integer values with commas&amp;nbsp; This does not work for us since the users are not accustomed to viewing ID values as comma seperated integer values.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It seems to me like there is an issue with maintaining a constant display of the values when implementing the customField using a dijit textbox (as described in the original post).&amp;nbsp; Since my last post I have attempted to get this to work consistently and have had NO success.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In an attempt to provide you more information I am attaching some screen shots.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;AttributeInspector_Default.png &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The defualt state of the attributeInspector if I do not set a custom field. Note the following:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;1) GAZ_ID and FCode fields are inteteger fields in the database. These are the ID values and I would like to format without commas&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2) I set the GAZ_ID field as not editable in the FieldInfos &lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_macro_code jive_text_macro"&gt;fieldInfos.push({ 'fieldName': 'GAZ_ID', 'isEditable': false, 'label': 'GAZ ID'});&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;AttributeInspector_SetCustomField_Good.png&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;This how the AttributeInspector looks like when I set a customField as described in the post above using a new dijit.form.NumberTextBox and passing in the pattern/formatting.&amp;nbsp; Note the following:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;1) The ID fields mentioned above display correctly (without commas)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2) looks like something is "wrong" with the setting of the customField because I have indicated that the GAZ_ID field is not editable, YET the input box allows editing .. it is not greyed out (I have tried both editable and not just incase).&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;3) After closing the UI and opening again, I loose the link between the data and the customFields (see below).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;AttributeInspector_SetCustomField_Bad.png&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;This is how the AttributeInspector looks like after I close it and open it again for the second time (or anytime after).&amp;nbsp; Note the following:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;1) The ID fields mentioned above no longer have any data displayed&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2) I have reviewed the objects and have confirmed that the data is still there (graphic.attributes.GAZ_ID and graphic.attributes.FCODE)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;3) I thought that there was an issue with CSS so I forced a height on the custom dijit and I confirmed that there was no data being displayed&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;4) I must close the entire applicaiton and open it again in order to view the attributes again. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;ESRI/Others, have you seen similar results? If not, can someone please point me in the correct direction on how to format an integer value in the AttributeInspector?&amp;nbsp; I am aware that the PopupTemplate has the .format option for the fieldInfos but the AttributeInspector is lacking this option.&amp;nbsp; However I am assuming that is why they have exposed the .customField option.&amp;nbsp; Is this a bug or just some formatting/properties that I am missing? &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any help is much appreciated.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Feb 2013 15:57:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/attributeinspector-with-customfield-is-not-working/m-p/149605#M13927</guid>
      <dc:creator>DianaBenedict</dc:creator>
      <dc:date>2013-02-04T15:57:00Z</dc:date>
    </item>
    <item>
      <title>Re: AttributeInspector with customField is not working correctly</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/attributeinspector-with-customfield-is-not-working/m-p/149606#M13928</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Sorry, but I had to add a reply to this thread so it can be promoted back to the top.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If this issue is not resolved, I will not be able to use the AttributeInspector and will need to develop our own custom form.&amp;nbsp; I have already customized the interface (by adding the attribute inspector to a TabContainer within a floating Pane and adding additional controls to the UI) but I was hoping to leverage some of the built in functionality available with the AttributeInspector.&amp;nbsp; Diplaying integer ID fields with comma seperated text is not acceptable to our users so I need to find a solution and currently I have exhausted all my options...so I look to you for help.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Feb 2013 15:19:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/attributeinspector-with-customfield-is-not-working/m-p/149606#M13928</guid>
      <dc:creator>DianaBenedict</dc:creator>
      <dc:date>2013-02-06T15:19:27Z</dc:date>
    </item>
    <item>
      <title>Re: AttributeInspector with customField is not working correctly</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/attributeinspector-with-customfield-is-not-working/m-p/149607#M13929</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Diana,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Do you see this issue happening with the sample that uses the custom validation box? If not can you modify the sample to match your scenario? Having a simple test app to work with will make it easier to test and debug this issue. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Kelly&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Feb 2013 23:08:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/attributeinspector-with-customfield-is-not-working/m-p/149607#M13929</guid>
      <dc:creator>KellyHutchins</dc:creator>
      <dc:date>2013-02-06T23:08:34Z</dc:date>
    </item>
    <item>
      <title>Re: AttributeInspector with customField is not working correctly</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/attributeinspector-with-customfield-is-not-working/m-p/149608#M13930</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Kelly&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you for your response. I just looked at the attribute inspector sample &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://help.arcgis.com/en/webapi/javascript/arcgis/samples/ed_attributeInspectorValidate/index.html"&gt;http://help.arcgis.com/en/webapi/javascript/arcgis/samples/ed_attributeInspectorValidate/index.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;And and it looks like I was able to reproduce a similar display issue with the customField (hone) in the AttributeInspector window.&amp;nbsp; I did the following:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;1) created a new notes - did this a couple of times&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2) added attributes for the new record (btw: I noticed that the data field is empty when you first create a record, but is present when you display the attributes anytime after it is initially created)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;3) selected&amp;nbsp; an existing note and edited the values&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;4) closed the window and did the same for other notes&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;5) added a new note&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;6) eventually I get the display issue&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have attached 2 screen shots to show you my issue. I did the tests above using IE 9 on a windows 7 desktop.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I went ahead and did similar tests in Firefox and it looks like I am unable to reproduce this issue. Also noticed that the field that has the following property set (STRING_FIELD_OPTION_TEXTAREA) displays slightly different between IE and Firefox. In firefox, you get a resize handle (nice) but noy in IE (interesting). &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;OK, so I just went back and looked at my results and it looks like I ONLY see this display issue with IE 9.&amp;nbsp; However, in both cases, the isEditable flag is NOT honored if I set a customField.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for looking into this issue and for any help you can provide.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Feb 2013 15:03:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/attributeinspector-with-customfield-is-not-working/m-p/149608#M13930</guid>
      <dc:creator>DianaBenedict</dc:creator>
      <dc:date>2013-02-07T15:03:14Z</dc:date>
    </item>
    <item>
      <title>Re: AttributeInspector with customField is not working correctly</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/attributeinspector-with-customfield-is-not-working/m-p/149609#M13931</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello all, sorry to keep replying to this post but I was really hoping that I can find a solution to this issue.&amp;nbsp; It seems to me like something is not set up correctly since customFields do not appear to honor the isEditable flag therefore not disabling the control as well as all the other issues I have posted above.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any help and or guidance is greatly appreciated.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Feb 2013 13:58:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/attributeinspector-with-customfield-is-not-working/m-p/149609#M13931</guid>
      <dc:creator>DianaBenedict</dc:creator>
      <dc:date>2013-02-13T13:58:38Z</dc:date>
    </item>
    <item>
      <title>Re: AttributeInspector with customField is not working correctly</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/attributeinspector-with-customfield-is-not-working/m-p/149610#M13932</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Diana,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I was able to reproduce this problem and submitted a bug for this behavior. I'll reply back to this thread with the bug number once I have a public link for the bug. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Kelly&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Feb 2013 21:31:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/attributeinspector-with-customfield-is-not-working/m-p/149610#M13932</guid>
      <dc:creator>KellyHutchins</dc:creator>
      <dc:date>2013-02-14T21:31:26Z</dc:date>
    </item>
    <item>
      <title>Re: AttributeInspector with customField is not working correctly</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/attributeinspector-with-customfield-is-not-working/m-p/149611#M13933</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Hi Diana,&lt;BR /&gt;&lt;BR /&gt;I was able to reproduce this problem and submitted a bug for this behavior. I'll reply back to this thread with the bug number once I have a public link for the bug. &lt;BR /&gt;&lt;BR /&gt;Kelly&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you so much for looking into this issue Kelly.&amp;nbsp; You have saved me a lot of time.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Feb 2013 21:33:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/attributeinspector-with-customfield-is-not-working/m-p/149611#M13933</guid>
      <dc:creator>DianaBenedict</dc:creator>
      <dc:date>2013-02-14T21:33:54Z</dc:date>
    </item>
    <item>
      <title>Re: AttributeInspector with customField is not working correctly</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/attributeinspector-with-customfield-is-not-working/m-p/149612#M13934</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I was wondering if ESRI has fixed this bug? Do we have a bug report number on it?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I would like to implement using the numberTextBox in the attribute inspector as a customField but the read-only/disabled property is completely ignored and users get the impression that they are able to make edits to this field.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Jul 2013 21:49:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/attributeinspector-with-customfield-is-not-working/m-p/149612#M13934</guid>
      <dc:creator>DianaBenedict</dc:creator>
      <dc:date>2013-07-09T21:49:59Z</dc:date>
    </item>
    <item>
      <title>Re: AttributeInspector with customField is not working correctly</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/attributeinspector-with-customfield-is-not-working/m-p/149613#M13935</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Has anyone solved this yet? Diana?&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am having the same problem using api v3.5 ValidationTextBox (plus am unable to control whether the box is editable or not)...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Arth.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Jul 2013 13:09:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/attributeinspector-with-customfield-is-not-working/m-p/149613#M13935</guid>
      <dc:creator>ArthurAbbie</dc:creator>
      <dc:date>2013-07-17T13:09:45Z</dc:date>
    </item>
    <item>
      <title>Re: AttributeInspector with customField is not working correctly</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/attributeinspector-with-customfield-is-not-working/m-p/149614#M13936</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Hi,&lt;BR /&gt;&lt;BR /&gt;Has anyone solved this yet? Diana?&amp;nbsp; &lt;BR /&gt;&lt;BR /&gt;I am having the same problem using api v3.5 ValidationTextBox (plus am unable to control whether the box is editable or not)...&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Arth.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;No, it looks like it is still an ESRI bug and does not appear to be fixed in JS api 3.5 either. I had to resort to a different work around since it seems to me like the CSS is getting all messed up when using the customField option. From what I can see, the CSS for ReadOnly properties is not honored with any fields in the AttibuteInspector FieldInfos that implement the customField poperty.&amp;nbsp; I hope ESRI can post a fix soon. I had to change my UI and add a "label" to accomodate for that bug.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Jul 2013 20:00:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/attributeinspector-with-customfield-is-not-working/m-p/149614#M13936</guid>
      <dc:creator>DianaBenedict</dc:creator>
      <dc:date>2013-07-22T20:00:09Z</dc:date>
    </item>
    <item>
      <title>Re: AttributeInspector with customField is not working correctly</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/attributeinspector-with-customfield-is-not-working/m-p/149615#M13937</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;No, it looks like it is still an ESRI bug and does not appear to be fixed in JS api 3.5 either. I had to resort to a different work around since it seems to me like the CSS is getting all messed up when using the customField option. From what I can see, the CSS for ReadOnly properties is not honored with any fields in the AttibuteInspector FieldInfos that implement the customField poperty.&amp;nbsp; I hope ESRI can post a fix soon. I had to change my UI and add a "label" to accomodate for that bug.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Ok, not what I hoped to hear but thanks for replying Diane &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I've decided to give up on the attributeInspector, now just using dijit/form/validationtextbox etc directly with the feature.attributes.&amp;nbsp; Next to replace will be the attachmentEditor. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So much time wasted on faffing around with things we're led to believe will work out-of-the-box but either they don't or the implementation is naff... sigh :rolleyes:.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Arth.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Jul 2013 10:07:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/attributeinspector-with-customfield-is-not-working/m-p/149615#M13937</guid>
      <dc:creator>ArthurAbbie</dc:creator>
      <dc:date>2013-07-29T10:07:38Z</dc:date>
    </item>
    <item>
      <title>Re: AttributeInspector with customField is not working correctly</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/attributeinspector-with-customfield-is-not-working/m-p/149616#M13938</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Same problem here.&amp;nbsp; Using a dojox.widgit.ColorPicker and tracking input via the events.&amp;nbsp; The data is being placed into the &lt;/SPAN&gt;&lt;SPAN style="font-style:italic;"&gt;value&lt;/SPAN&gt;&lt;SPAN&gt; property correctly.&amp;nbsp; But never gets to the Graphic's corresponding attribute value.&amp;nbsp; Something to do with pushing the update to the graphic.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I've noticed that Dojo's documentation is off in many ways though.&amp;nbsp; This could be a bug based on how ESRI gets the value.&amp;nbsp; Some dijits work well with...&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_macro_code jive_text_macro"&gt;myDijit.set('value', somevalue);&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;...while others prefer...&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_macro_code jive_text_macro"&gt;myDijit.value = somevalue;&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;...and still others like...&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_macro_code jive_text_macro"&gt;myDijit.attr('value', somevalue);&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;And the documentation is very unreliable.&amp;nbsp; For instance, &lt;/SPAN&gt;&lt;A href="http://dojotoolkit.org/api/dojox/widget/ColorPicker"&gt;ColorPicker&lt;/A&gt;&lt;SPAN&gt; doc says to use attr('value') to assign &lt;/SPAN&gt;&lt;SPAN style="font-style:italic;"&gt;value&lt;/SPAN&gt;&lt;SPAN&gt;s.&amp;nbsp; But in truth, only &lt;/SPAN&gt;&lt;SPAN style="font-style:italic;"&gt;value = somevalue&lt;/SPAN&gt;&lt;SPAN&gt; works.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It's no wonder this breaks the link in the AttributeInspector.&amp;nbsp; Which way does ESRI get/set the value?&amp;nbsp; Luckily the &lt;/SPAN&gt;&lt;SPAN style="font-style:italic;"&gt;set&lt;/SPAN&gt;&lt;SPAN&gt; TO the dijit works.&amp;nbsp; Dodgy consistency.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Sep 2013 21:41:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/attributeinspector-with-customfield-is-not-working/m-p/149616#M13938</guid>
      <dc:creator>AmericanData</dc:creator>
      <dc:date>2013-09-05T21:41:59Z</dc:date>
    </item>
    <item>
      <title>Re: AttributeInspector with customField is not working correctly</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/attributeinspector-with-customfield-is-not-working/m-p/149617#M13939</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Just an update for those finding this forum thread in 2013, it is still a bug; but at least it now logged as an official bug (NIM089109). It appears to have been assigned but no resolution yet.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Nov 2013 12:49:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/attributeinspector-with-customfield-is-not-working/m-p/149617#M13939</guid>
      <dc:creator>DavidBlanchard</dc:creator>
      <dc:date>2013-11-06T12:49:11Z</dc:date>
    </item>
    <item>
      <title>Re: AttributeInspector with customField is not working correctly</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/attributeinspector-with-customfield-is-not-working/m-p/149618#M13940</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi all,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The problem is in AttributeInpector.js, in _destroyAttributeTable() function, in line "&lt;/SPAN&gt;&lt;SPAN style="font-style:italic;"&gt;this._attributes &amp;amp;&amp;amp; h.destroy(this.&lt;STRONG&gt;_attributes&lt;/STRONG&gt;)&lt;/SPAN&gt;&lt;SPAN&gt;". The &lt;/SPAN&gt;&lt;STRONG&gt;_attributes&lt;/STRONG&gt;&lt;SPAN&gt; contains custom widgets you created. Just comment this line and it will work.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Alex Merkulov&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Feb 2014 09:44:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/attributeinspector-with-customfield-is-not-working/m-p/149618#M13940</guid>
      <dc:creator>AlexMerkulov</dc:creator>
      <dc:date>2014-02-06T09:44:34Z</dc:date>
    </item>
    <item>
      <title>Re: AttributeInspector with customField is not working correctly</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/attributeinspector-with-customfield-is-not-working/m-p/149619#M13941</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;There is one more problem with AttributeInspector.js. No matter if field editable or not, the custom control always will be editable.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Two bugs in one *.js. Thanks God I can change it!!!!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Feb 2014 10:43:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/attributeinspector-with-customfield-is-not-working/m-p/149619#M13941</guid>
      <dc:creator>AlexMerkulov</dc:creator>
      <dc:date>2014-02-06T10:43:24Z</dc:date>
    </item>
    <item>
      <title>Re: AttributeInspector with customField is not working correctly</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/attributeinspector-with-customfield-is-not-working/m-p/149620#M13942</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Hi all,&lt;BR /&gt;&lt;BR /&gt;The problem is in AttributeInpector.js, in _destroyAttributeTable() function, in line "&lt;SPAN style="font-style:italic;"&gt;this._attributes &amp;amp;&amp;amp; h.destroy(this.&lt;STRONG&gt;_attributes&lt;/STRONG&gt;)&lt;/SPAN&gt;". The &lt;STRONG&gt;_attributes&lt;/STRONG&gt; contains custom widgets you created. Just comment this line and it will work.&lt;BR /&gt;&lt;BR /&gt;Alex Merkulov&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Is this line in the AttributeInspector.js for the JavaScript API Version 3.8?&amp;nbsp; I have downloaded AttributeInspector.js and can't find it.&amp;nbsp; The closest I can find is the line:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if (this._attributes) {
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; _9.destroy(this._attributes);
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }
&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;That line is part of the _destroyAttributeTable function.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 08:05:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/attributeinspector-with-customfield-is-not-working/m-p/149620#M13942</guid>
      <dc:creator>MatthewMiller</dc:creator>
      <dc:date>2021-12-11T08:05:04Z</dc:date>
    </item>
    <item>
      <title>Re: AttributeInspector with customField is not working correctly</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/attributeinspector-with-customfield-is-not-working/m-p/149621#M13943</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;@alexmarkolov&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks! That solved the issue for me.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Mar 2014 22:04:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/attributeinspector-with-customfield-is-not-working/m-p/149621#M13943</guid>
      <dc:creator>deleted-user-YYhuCJuuEn9L</dc:creator>
      <dc:date>2014-03-24T22:04:36Z</dc:date>
    </item>
    <item>
      <title>Re: AttributeInspector with customField is not working correctly</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/attributeinspector-with-customfield-is-not-working/m-p/149622#M13944</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I spoke too soon. Commenting out this code:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;if (this._attributes) {&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; _9.destroy(this._attributes);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;}&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Working in Chrome but not IE. It seems that when a custom field is added it's DOM is being wiped out during the _createTable method with this line:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;this.attributeTable.innerHTML = "";&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Only the parentNode remains. To get around this I had to assign the layerInfo.customField to a function and make the following changes in the _createField method:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;if (c.customField) {&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if (typeof(c.customField)==='function') {&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; f=c.customField();&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; h.place(f.domNode, h.create("div", null, b), "first");&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; else {&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; h.place(c.customField.domNode || c.customField, h.create("div", null, b), "first"), f = c.customField;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;}&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This worked form me with some custom DateTextBoxes. For number formatting without commas, I made the following changes to the _createIntField method:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;return new s({&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "class": "atiField",&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; constraints: {&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; places: 0&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; },&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; _formatter: function (value) { return value; },&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; invalidMessage: this.NLS_validationInt,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; trim: !0&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;}, h.create("div", null, c))&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hope this helps&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 May 2014 15:03:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/attributeinspector-with-customfield-is-not-working/m-p/149622#M13944</guid>
      <dc:creator>deleted-user-YYhuCJuuEn9L</dc:creator>
      <dc:date>2014-05-23T15:03:13Z</dc:date>
    </item>
  </channel>
</rss>

