Datagrid column empty value with default value

I have a datagrid like this:
image

Right now “execution start time” and “execution total time” is empty. I would like to add a default value if the field is null, e.g. “No run yet”. Execution start time is an OffsetDateTime and I’m not able to overwrite the getter with a custom string. I do not want to change the entity type.

Hello @carsten.hufe ,

You can override this screen and use a custom renderer, for example:
https://demo.jmix.io/ui-samples/sample/data-grid-custom-renderer

Regards,
Nikita

I just figured out that I can overwrite the formatter:

            <column property="executionStartTime">
                <localDateTimeRenderer nullRepresentation="---" format="msg://offsetDateTimeFormat"/>
            </column>
1 Like