Quantcast
Viewing all articles
Browse latest Browse all 8068

Getting children views inside parent one.

Hi!

The case is to get child view by id or another identifier.

First and most known solution is make it like the following:

function updateMessage (row, data) {
 
    row.children[1].children[2].children[1].setImage(data.url); 
    // work if we know the views order
}
The question. Is it possible do not link to views order and use some kind of identifier instead?

Appreciate any help.


Viewing all articles
Browse latest Browse all 8068

Trending Articles