0
table.bindItems({
path: "/",
template: new sap.m.ColumnListItem({
cells: [
new sap.m.Text({
text: "{account_name}"
}),
new sap.m.Button({
text: "Disconnect",
name:"{account_id}",
press: [that.handleButtonPress, this]
})
]
})
});
JS
handleButtonPress: function (oEvent) {
}
ここ
私はテーブルにJSONデータをバインドdynamicaly。私はそこに一つのボタンを置く。ボタンをクリックすると、コントローラーでその名前の値を取得する必要があります。これを行う方法..?