How to stop expanding accordion? I mean how to cancel expand event?
I am using ExtGwt. i have below code.
private ContentPanel mainPanel = new ContentPanel();
private ContentPanel firstAccordion = new ContentPanel();
private ContentPanel secondAccordion = new ContentPanel();
private ContentPanel thirdAccordion = new ContentPanel();
i have accordionlayout set. i have 3 accordions. all are added to mainPanel. when user is viewing secondAccordion, if user clicks on first accordion then first accordion should not be expanded. user should be retained in seconAccordion itself. so, my question is, i have certain condition when to retain the user in the same accordion where he is. if user clicks on any other accordions, then i should stop expandint the other accordion. how can i do that? Please help me.
Tags for this Thread