Kunoob
unread,Sep 6, 2014, 6:25:01 AM9/6/14Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to minh-duc-so...@googlegroups.com
Thày cho e hỏi chỗ này ạ
this.oTable = new sap.ui.table.Table({
title: "Table Example",
visibleRowCount: 7,
firstVisibleRow: 3,
selectionMode: sap.ui.table.SelectionMode.Single,
toolbar: new sap.ui.commons.Toolbar({items: [
new sap.ui.commons.Button({text: "Add" ,icon: "sap-icon://create"}).attachPress(oController.add),
new sap.ui.commons.Button({text: "Delete"}).attachPress(oController.del)
]}),
extension: [
// new sap.ui.commons.Button({text: "Remove", press: function() { alert("Button remove!"); }})
]
});
cái chõ attachPress , cách này e mò ra còn ban đầu nó như thế này ạ
press: function () {}