I need to be able to find all grids for a given form. This is a simplified version of what I’m doing:
function formEnumerate(form)
{
form.getForm().items.each(function (element)
{
// gets form elements but not grids
});
}
Can I get the grids from form?
If you’re using Ext4, you can use the component query method:
In 3.x you can use the findByType method: http://docs.sencha.com/ext-js/3-4/#!/api/Ext.Container-method-findByType