on 04-16-2018 1:03 PM
If you are using the event delegate, you would need to scope the function which can be done numerous ways such as using bind
.addEventDelegate: function({
onAfterRendering: function() {
this.setMainTaskColor();
}.bind(this)
})
Regards,
Jamie
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You can call it inside the function with this.
onAfterRendering: function(){
this.setMainTaskColor();
}
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
95 | |
11 | |
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.