on 03-27-2014 9:04 PM
Can seem to figure out why I can't create a Table from my view. I have set my 'data-sap-ui-libs' attribute in my index.html with sap.m, sap.ui.table, sap.ui.core. Even tried to use sap.ui.table.Table.
But I keep getting the error 'undefined evaluating new sap.ui.table.Table'.......
My table definition from my view:
var oTable = new sap.ui.table.Table({
columns: {label: "Label", template: "Name", setProperty: "Name"}
});
any help is appreciated.
Do it after coma:
data-sap-ui-libs="sap.ui.commons,sap.ui.table"
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.