The SetText event was not fired automatically in XDataWebDateset fields.

Hi,

I am facing one issue related to Date format.
As we use ISO date format for date data transfer between Webcore client app and xdata server app.
But I wanted to show date data in dd/mm/yyyy format and to pass the data in yyyy-mm-dd format when xdata api is called.

So I used the field gettext and settext event. And i found that the gettext event worked fine and can show data in dd/mm/yyyy format. But the settext event seems not firing as in settext event I am setting the date format back to yyyy-mm-dd. I get 'invalid date format'.

So please help me on how fix this issue.
My main purpose is to show date in 'dd/mm/yyyy? and user can change the date and save without any error

I am using xData Entiry model for API and the field type is TDate

Thanks.

Looks like this was already discussed here: