i have a view, which contains table; with onclick event dialog pops up with checkboxes in it. When user checkes boxes, the same columns(as checkboxes) should be added to the table. How to bind properties of checkbox (checked: true) with column(setVisible) ?
Thank you!
ex of checkbox:
var tv3 = new sap.ui.commons.CheckBox({
text : 'Equipment Tag',
checked: false,
});
one of the tablecolumn
table.addColumn(new sap.ui.table.Column({
label : new sap.ui.commons.Label({
text : Functional Location
})
}));