Skip to main content
1-Visitor
November 10, 2014
Question

How to get all child objects by ExtJS?

Hi!

I need to get all div containers that are located in the parent td object. How to get them by ExtJS code? Thanks!

5 replies

1-Visitor
November 12, 2014

Hi Anton,

Can you send a snippet of your HTML and let us know the div that you are trying to get hold of ?

Translate
1-Visitor
November 12, 2014

Ihave solved it by using this:

<%String cd = getData(request, session);%>

var tpd = '<%=cd%>';

var objs = Ext.util.JSON.decode(tpd);

objs contain all information about WTType checkboxes in the search page. But may be anybody know how to get all child objects with ExtJS? It'll helpful for me in future

Translate
1-Visitor
November 12, 2014

Great !

At this moment I am not aware of any API's in ExtJS to do so. Looking through the Ext API documentation should give you some pointers. All though, the documentation can be overwhelming at times.

Translate