Your browser does not seem to support JavaScript. As a result, your viewing experience will be diminished, and you have been placed in read-only mode.
Please download a browser that supports JavaScript, or enable it if it's disabled (i.e. NoScript).
Hello, I have a listview with 15 items, and two different states. I would like to know the state of the listelement which is in use(onclicked event). How do I determine this. I tried the following @ var n = model.get(index).Name console.log(n.state)
@
I get answer as "undefined."
Try model.get(index).state
Nope.. the result is the same "undefined".
Are the event catched in the delegate ? Then you can use directly state. If you are in the view, it should work....
unfortunately that does not get cached..
Please post some code....
Can you please post your code. So that the other people can also give it a try...