XML
<columns>
<Column width="3em">
<CheckBox select="selectAll"/>
</Column>
<items/>
JS
var table = this.getView().byId("Table");
table.bindItems({
path: "/",
template: new sap.m.ColumnListItem({
cells: [
new sap.m.CheckBox({
name: "{ue_connection_name}",
selected: "{enabled}",
enabled: true
}),
]
})
});
selectAll: function() {
this.selected = true;
}
Here I have few checkbox list. When I click main checkbox in table header, I want to select all other check boxes. How to select all checkboxes in sapUI5