// filter data columns - remove 'marriageStatus' addComponent { setComponentDefinition { TYPE: "tFilterColumns", NAME: "tFilterColumns_1", POSITION: 512, 224 } setSettings { LABEL : "filter_columns" }Copy code to clipboard
// filter data columns - remove 'marriageStatus' addComponent { setComponentDefinition { TYPE: "tFilterColumns", NAME: "tFilterColumns_1", POSITION: 512, 224 } setSettings { LABEL : "filter_columns" }
In this example, just copy the column settings defined in the previous component, with the marriageStatus column removed.
addSchema { NAME: "tFilterColumns_1", CONNECTOR: "FLOW" addColumn { NAME: "name", TYPE: "id_String" } addColumn { NAME: "gender", TYPE: "id_String" } addColumn { NAME: "age", TYPE: "id_Integer", LENGTH: 2 } addColumn { NAME: "city", TYPE: "id_String" } }Copy code to clipboard
addSchema { NAME: "tFilterColumns_1", CONNECTOR: "FLOW" addColumn { NAME: "name", TYPE: "id_String" } addColumn { NAME: "gender", TYPE: "id_String" } addColumn { NAME: "age", TYPE: "id_Integer", LENGTH: 2 } addColumn { NAME: "city", TYPE: "id_String" } }
If you find any issues with this page or its content – a typo, a missing step, or a technical error – please let us know!