Question
Could you please tell me if it's possible to do the following: there is a temporary table with a field in the header called h_select
. Is it possible to generate data in it using code for a select code for selectRowListForSelect
and use this data in the select_field
in the row section?
Answer
Yes, in the code you can create a data structure that can then be used in the select code.
For example, code in the h_select field:
=: rowlistCreate(field: 'value' = $value; field: 'title' = $title; field: 'is_del' = false)
value: listCreate(item: 1; item: 2; item: 3)
title: listCreate(item: "Alexey"; item: "Pavel"; item: "Margo")
Select code in select_field in the row part:
=: #h_select