Let's follow up this discussion at the Neptune Community

(this forum will be kept in read-only mode)

Data Binding to single Label

Hi,


It is clear how to bind data to form/table/list etc. where we specify the structure/table as a model source and bind data to particular controls (e.g. labels(. But what is the best practice to bind data to a Label on its own that is not included in any form/table or list?



1 Comment

Hi Radek


Binding data requires a model behind it, so that is not possible.


If you like to set/getValues from e.g labels you can use UI5 methods to achieve this.


object,getText();

object.setText("New Label");



Login or Signup to post a comment