Databind labels in ViewModels
This page was created by Hans.karlsen@mdriven.net on 2022-03-18. Last edited by Stephanie@mdriven.net on 2025-01-28.

Labels are normally static presentation texts - these texts can be translated by following the strategy describe here

But from time to time you want to use data instead of static texts.

Column headers in grids

Expression for Labels - if Grid - are found on level of Grid root column taking the name of "GridRootColumnName"_"GridColumnName"_Label

and

Labels for widgets and buttons

Expression for Labels on simple widgets - are found on same level taking the name of "ColumnName"_Label

x

And for MVC and AngularJS:

2022-03-18 16h41 21.gif