dateformat in Attribute Inspector

757
3
06-25-2014 04:37 PM
Town_ofSnowflake
Occasional Contributor
Is it possible to display both the date AND the time using the Attribute Inspector?

shortDateshortTime doesn't seem to display a time
0 Kudos
3 Replies
AndyGup
Esri Regular Contributor
@meloking, I'm not sure however have you tried specifying a TimeTextBox as a custom widget to the Attribute Inspector?

Here are two examples to demonstrate what I'm suggesting:

Attribute Inspector sample with custom widget: https://developers.arcgis.com/javascript/jssamples/ed_attributeInspectorValidate.html

Dojo TimeTextBox: http://dojotoolkit.org/reference-guide/1.10/dijit/form/TimeTextBox.html


-Andy
0 Kudos
StevenGraf1
Occasional Contributor III
Here is a link for formatting infoWindow content.  It might help get you started.  I'm not sure if the commands are the same for the AttributeInspector.

Here is a sample where they format AttributeInspector content

Hope this helps
0 Kudos
JonathanUihlein
Esri Regular Contributor
Unfortunately, the AttributeInspector widget does not currently support time by default.

However, it has been updated for the next release (due out before the UC).
0 Kudos