two columns . and every cell can input any elements?
like this picture.
Hello
You need to use type “block” to collect items in a column and type “newcolunm” to set blocks inline. The structure can be the next:
formData = [
{type: "settings", inputWidth: 130, labelWidth: 50, labelAlign: "left"},
{type: "block", name: "left_block", width: 210, list: [
{type: "input" , name: "inp_L1", label: "Name:"},
{type: "input" , name: "inp_L2", label: "Name:"},
{type: "input" , name: "inp_L3", label: "Name:"},
{type: "input" , name: "inp_L4", label: "Name:"}
]},
{type: "newcolumn", offsetLeft: 5},
{type: "block", name: "right_block", width: 210, list: [
{type: "password" , name: "inp_R1", label: "Pass:"},
{type: "password" , name: "inp_R2", label: "Pass:"},
{type: "password" , name: "inp_R3", label: "Pass:"},
{type: "password" , name: "inp_R4", label: "Pass:"}
]}
];
The result of this structure is the next (some letters are typed as a sample):
thank you very much.
You are welcome!