Skip to content

Insert elements from a side-by-side list and make a page break if there is no space. #79

Open
@GlauberF

Description

I have a list, for example:

[{
    "descricao": "Product A",
    "codigo_interno": "001",
    "preco_venda": "10.00",
},{
    "descricao": "Product B",
    "codigo_interno": "002",
    "preco_venda": "11.00",
},{
    "descricao": "Product C",
    "codigo_interno": "003",
    "preco_venda": "12.00",
},{
    "descricao": "Product D",
    "codigo_interno": "004",
    "preco_venda": "13.00",
},{
    "descricao": "Product E",
    "codigo_interno": "005",
    "preco_venda": "13.00",
}]

I want to insert side by side in cards as per the image, but I would like it to have a page break if the next element to insert doesn't fit in the remaining space on the right.
How can I do this ?

Captura_de_Tela_selecionar_area_20220628175739

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions