Add formatting options to the parameters in text-widgets in a dataview and listview - Mendix Forum

Add formatting options to the parameters in text-widgets in a dataview and listview

0

The datepicker has a very nice option to format your date for instance to show as "Wednesday 3 october":

In Datagrids, this option is also available. Great.

In a listview and in a dataview, in the text-widget, when adding a parameter to the text, you can only select an attribute, but you can not format it.

Make the parameter-selection more intelligent thereby including more formatting options.

As a result of this we regularly create an extra attribute (here FormattedStringDay) in the entity so we can prefill it with the string that we to show. A workaround that has as sideeffect that the entity gets polluted with extra and redundant fields.

Because of that this idea: "Add formatting options to the parameters in text-widgets in a dataview and listview"

asked
2 answers

Great! Good thing my camera is switched of because I just did a very awkward little dance.

Created

This is possible since Mx 7.15!

https://docs.mendix.com/releasenotes/desktop-modeler/7.15#text-template-formatting-options

Created