on ‎2015 Mar 20 7:02 AM
Request clarification before answering.
Hello Mr. Eli,
'Undefined is not a function' is a broad error which can be caused by things such as calling a function on an undefined object, using 'this' out of context from within a function, and beyond.
This is a complete guess, but perhaps you are using this.getModel() instead of this.getView().getModel()
Like Santhosh suggested, please share the Master navigation code, as well as the Detail onInit code.
Regards,
Scott
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
This is a common JavaScript error that happens when you try to call a function before it is defined. You get "'undefined' is not a function" error when you try to execute a function that is uninitialized or improperly initialized . It means that the expression did not return a function object. So you have to figure out what you are trying to execute isn't a function.
In Javascript , when you execute a function, it's evaluated like the following:
That expression may be complex. So when you get undefined is not a function it means that expression did not return a function object. So you have to figure out what you are trying to execute isn't a function.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Mr Eli,
Please provide the navigate code.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 13 | |
| 8 | |
| 6 | |
| 4 | |
| 4 | |
| 3 | |
| 2 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.