Skip to content

Как через функцию печати сформировать не однородную таблицу? #453

Discussion options

You must be logged in to vote

Это через вложенный шаблоне делается:

example3: linkToPrint(template: "name"; data: $row3)
row3: rowCreate(field: "peremennaya1" = $row33)
row33: rowCreate(field: "template" = "inner_multi_template"; field: "data" = $row333)
row333: rowListCreate(field: "i_peremennaya1" = $listvalue1; field: "i_peremennaya2" = $listvalue2)
listvalue1: listcreate(item: "value1_row1"; item: "value1_row2")
listvalue2: listcreate(item: "value2_row1"; item: "value2_row2")

пример в доках паршивый, но другого нет

Смотрите там Пример: https://ru.docs.totum.online/print-and-csv#sx-example

Replies: 2 comments 3 replies

Comment options

You must be logged in to vote
1 reply
@ttm-alexeypolunin
Comment options

Answer selected by ttm-alexeypolunin
Comment options

You must be logged in to vote
2 replies
@ttm-alexeypolunin
Comment options

@erpic-ru
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Печать и CSV Про шаблоны печати и обмен через CSV
3 participants