Categories | Question details Back To List | ||
dhtmlxAccordion How To Remove Item I would like to do the opposite of "addItem". Remove/Destroy the Item Object. Not just hide. I.E., without having to complete reload from scratch. Can this be done? Answer posted by Alex (support) on Jun 05, 2009 04:14 Unfortunately, accordion API doesn't allow to delete items. You can try to use the following approach: function deleteItem(itemId){ dhxAccord.items[itemId].hide(); delete dhxAccord.idPull[itemId]; delete dhxAccord.items[itemId]; } Answer posted by Larry on Jun 21, 2009 11:56 This works very well! Thank! |