Databind labels in ViewModels
m ((username removed) (log details removed): Moving to Documentation namespace)
No edit summary
 
(4 intermediate revisions by 2 users not shown)
Line 1: Line 1:
Labels are normally static presentation texts. These texts can be translated by following the strategy described [[Localization|here.]]
<message>Write the content here to display this box</message>
Labels are normally static presentation texts. These texts can be translated by following the strategy described [[Documentation:Localization|here.]]


From time to time, however, you may want to use data instead of static texts.
From time to time, however, you may want to use data instead of static texts.
Line 9: Line 10:
Expression for Labels on simple widgets are found on the same level, taking the name of "ColumnName"_Label
Expression for Labels on simple widgets are found on the same level, taking the name of "ColumnName"_Label


[[File:2022-03-18 15h39 51.gif|alt=x|none|thumb|1520x1520px]]
[[File:2022-03-18 15h39 51.gif|alt=x|none|thumb|884x884px]]


And for MVC and AngularJS:
And for MVC and AngularJS:
[[File:2022-03-18 16h41 21.gif|none|thumb|1520x1520px]]
[[File:2022-03-18 16h41 21.gif|none|thumb|883x883px]]
[[Category:View Model]]
[[Category:View Model]]
{{Edited|July|12|2025}}

Latest revision as of 05:56, 28 January 2025

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 described here.

From time to time, however, you may want to use data instead of static texts.

Column Headers in Grids

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

Labels for Widgets and Buttons

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

x

And for MVC and AngularJS:

2022-03-18 16h41 21.gif