View Single Post
  #24  
Old 12-12-2013, 08:07 PM
iDigzy iDigzy is offline
Registered User
Join Date: Apr 2013
Posts: 44
iDigzy is on a distinguished road
Quote:
Originally Posted by Jakov_the_Jakovasaur View Post
you need to set the this.items array outside of the gui container, because that is otherwise applying the array variable to the container itself instead of the parent object, which is then not being found within the onSelect event

then if you just use 'thiso' within gui container like shown in my example it will reference the parent object

you are also looping through the items array outside of the gui container, which is why the rows arent adding properly, and you are closing the onCreated() bracket in the wrong place

http://pastebin.com/vb9hhr7y
Thanks, I'll take a look at it and see where I put brackets. I thought I had messed up when closing them, but I assumed I fixed it. I guess it was still a mess.
Reply With Quote