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?

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];
}

This works very well! Thank!