dateformat in Attribute Inspector

379
3
06-25-2014 04:37 PM
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
Reply
0 Kudos
3 Replies
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
Reply
0 Kudos
Regular Contributor
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
Reply
0 Kudos
Regular Contributor II
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).
Reply
0 Kudos