Guest User

Untitled

a guest
Jan 18th, 2019
92
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.32 KB | None | 0 0
  1. function gridvm(user) {
  2. this.user = user;
  3. this.items = ko.observableArray();
  4. this.selected = ko.observable();
  5. };
  6.  
  7. gridvm.prototype.onSelect = function (item) {
  8. this.selected(item); //Uncaught TypeError: Object [object Object] has no method 'selected'
  9. }.bind(this);
Add Comment
Please, Sign In to add comment