function formatGridDate(theDate, rowIndex) { var rowdata = this.grid.getItem(rowIndex); var theDate = new Date(parseInt(rowdata.<your date filed name here>)); theDateString = dojo.date.locale.format(theDate, { selector: 'date', datePattern: 'MM/dd/yyyy' }); return theDateString; }
Přihlášení členové mohou přispívat, sledovat aktualizace a další. Jste tu noví? Zaregistrujte si bezplatný účet.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.