supermonchi
24 Mar 2011, 2:09 PM
Not sure if I missed something, but as far as I know, when you add detail cards at the leaf nodes of a NestedList, the title and Back button text seem to 'forget' their current position, and their values reset to the default root values.
For example, in the example code provided with sencha touch package:
sencha-touch/touch/examples/nestedlist/index.html
If you click through src/ - gestures/ - gesture.js, the title and Back button both say "src/", which to me seems rather odd. To me, the title of that detail card should ideally be "Gesture.js" and the Back button should be "gestures/".
With a lot of help I've managed to achieve this but still there was a split second delay between the panel getting rendered and my listener overwriting the values, so yes it works but not ideal. It would be great if this can be made as default.
For example, in the example code provided with sencha touch package:
sencha-touch/touch/examples/nestedlist/index.html
If you click through src/ - gestures/ - gesture.js, the title and Back button both say "src/", which to me seems rather odd. To me, the title of that detail card should ideally be "Gesture.js" and the Back button should be "gestures/".
With a lot of help I've managed to achieve this but still there was a split second delay between the panel getting rendered and my listener overwriting the values, so yes it works but not ideal. It would be great if this can be made as default.