on 04-23-2018 6:51 PM
So I followed this tutorial: https://blogs.sap.com/2014/04/08/understanding-sapuitabletable-in-10-minutes/ and ran into a problem I am hoping someone can help with.
oTable.addColumn(new sap.ui.table.Column({
label: v['Month'],
template: new sap.ui.commons.TextField({value: "{AUG}"}),
hAlign:"Center", resizable:false }));
I wrote the above, which is obviously not exactly as the tutorial but I am getting the following error message "Uncaught TypeError: Cannot read property 'TextField' of undefined".
Any ideas why that would happen?
Found the solution by looking at the actual example of the tutorial on jsbin (which is unfortunatly blocked by corporate firewall).
I had not added the common and table libraries to the index.html.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.