cancel
Showing results for 
Search instead for 
Did you mean: 

I want to display a variable string in a custom list

Ebun.1
Senior

I am always indebted.

I have a ListLayout in touchgfx template.

The list shows his icon and a fixed string.

I want to add a variable string to this.

I want to display a variable string using "% d", "% f", "% s" of sprintf ().

How should it be realized?

A screen example is attached.

Please give me advice.

1 ACCEPTED SOLUTION

Accepted Solutions

Hi,

It is possible to create a custom container similar to the one you shared from the "ListLayout Example" UI template. To make a "variable" string you need to use a textArea widget and in the widget settings under the "Text" section put <variable> instead of New Text. Have a look at the different UI templates using textAreas or at tutorial 3.

/Romain

View solution in original post

2 REPLIES 2
Ebun.1
Senior

Is it possible to create a custom container?

I'll check it out first.

If I can't figure it out, I'll ask again.

Hi,

It is possible to create a custom container similar to the one you shared from the "ListLayout Example" UI template. To make a "variable" string you need to use a textArea widget and in the widget settings under the "Text" section put <variable> instead of New Text. Have a look at the different UI templates using textAreas or at tutorial 3.

/Romain