How fill table-field-type?

How can i fill table -field-type with values from a list??
def list=[[k1],[k2],[k3]]
i used to Bonita Studio 5.9.I have retrieve a list from db,and i would like to fill table type dynamically.
Should it use html-widget,Right??
What code is required??

Thank in advance,
Katerina Rombogiannaki

Hi Multix,

You still can do in the same way, you have to go to Data and click on “Edit as Expression”. Then you can add your variable, or script.

Remember that the structure should be a matrix

[ [ ‘a1’,‘a2’,‘a3’] , [ ‘b1’,‘b2’,‘b3’] ,[ ‘c1’,‘c2’,‘c3’] …]

to get

a1 a2 a3 b1 b2 b3 c1 c2 c3

Cheers