samedi 27 août 2016

How to delete multiple Ext components at the same time.-EXTJS

I'm trying to remove multiple elements from an array using EXTjs using id of the comp.

Ext.getCmp('id1').destroy();

However how can I do if i have to delete multiple comp ids, like:

Ext.getCmp('id3').destroy()
Ext.getCmp('id4').destroy()
Ext.getCmp('id5').destroy()

Any ideas?thx

Aucun commentaire:

Enregistrer un commentaire