Quantcast
Viewing all articles
Browse latest Browse all 8068

Show/Hide ListView item property

Where the child template is:

{                                                          
        type: 'Ti.UI.ImageView', 
        bindId: 'the button', 
        properties: {
        image: 'images/myimage.png',
        visible: false,
        right: "18dp"
        }
}
Then within a called function:
maintemplateName.childTemplates[indexOfChld].properties.visible = true
This does not seem to work. Is there a way to do this? Currently using Classic.

Viewing all articles
Browse latest Browse all 8068

Trending Articles