Default value on data grid column

0
Hey guys, I have a question, how can I set a default value on my data grid column? I'd like set something on those blank columns (see image bellow). The default value that I set on my entity isn't working, I suppose it's because I imported the data from my Postgres database using the Excel import module.   Thanks.
asked
1 answers
2

Hi indeed the 'normal' way to go is a default value on the attribute in the domain model.

Your Excel import probably has overwritten this default value with an empty value. If you are planning to do an import again then try change the import in a way that the default is not overwritten if the import data is empty.

If you want to fix the current data you have, you could for example build a conversion microflow that sets the wanted values.

answered