DhtmlxAccordion Lock


DhtmlxTabbar allow to disable Tabs, is it possible to do the same thing with an Accordion ?

Best regards,

Jack River


you can use onBeforeActive event. It should return true for items that can be open. For example if item with id = “a2” is disabled, the code can be following:

if(id!=“a2”) return true;

Thanks, it works fine.