cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Need to share some code when posting a question or reply? Make sure to use the "Insert code sample" menu option. Learn more! X

How to get all child objects by ExtJS?

AntonBagryanov
12-Amethyst

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 5

Hi Anton,

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

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

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.

Hi Anton,

Could you mark your solution to correct answer or helpful answer so that others can find it?

Thanks,

Jarrett

Hi Jarrett.

I have no any helpful answer that directly applies to my question. I have solved my trouble, but I didn't get the current answer.

Announcements


Top Tags