You need CSS to change it. See the learning path here: https://gettingstarted.mendixcloud.com/link/module/361/lecture/2875/5.1-Best-Practices
Regards,
Ronald
Hi Elwin,
You can target .mx-datagrid-head-caption class to change styles for caption in Project directory\theme\styles\web\sass\app\widgets >_datagrids.scss file (create this file if it does not exist) and add custom styles in this file, see the screenshot below. If you just want to only apply caption style changes to the specific datagrid and not all than wrap a custom class e.g. ‘.custom-datagrid’ and use it on the datagrid.
As Roland mentioned you can follow the learning path and also get some additional information in this forum post
Hope this helps!
Thank you Ronald for your answer.
Do you have a tip for only changing the Caption and not the whole column?
Yes Thank you
Yes Thank you