I've got a RestDataSource that contains a date field. This datasource feeds a ListGrid, a DynamicForm, and a DetailViewer.
The date is formatted as expected in the grid and the form (default short) but in the viewer it is formatted as as long string(guessing localestring).
In reading the docs I see there is a property DateDisplayFormat and I set this to toUSShortDate in the viewer but get no change. (DateDisplayFormat:"toUSShortDate")
Just to try it out I added the useTextField:true property in the field definition of the datasource and this change was seen in the form but still getting the long sting for the date in the detailviewer?
Can someone point me to my error?
The date is formatted as expected in the grid and the form (default short) but in the viewer it is formatted as as long string(guessing localestring).
In reading the docs I see there is a property DateDisplayFormat and I set this to toUSShortDate in the viewer but get no change. (DateDisplayFormat:"toUSShortDate")
Just to try it out I added the useTextField:true property in the field definition of the datasource and this change was seen in the form but still getting the long sting for the date in the detailviewer?
Can someone point me to my error?
Comment