How to determine which dijit.layout.AccordionPane is currently selected

Posted by David Zhao on Stack Overflow See other posts from Stack Overflow or by David Zhao
Published on 2010-05-13T00:41:45Z Indexed on 2010/05/13 0:44 UTC
Read the original article Hit count: 487

Filed under:
|

Hi there,

I tried to use "dijit.layout.AccordionPane.selected" to determine if any given AccordionPane is in focus (selected). However, AccordionPane.selected property will be set to "True" once the AccordionPane is selected, and AccordionPane.selected stays as "True" even other dijit.layout.AccordionPane is selected. So in other words, if I have 3 AccordionPanes, after I clicked on all 3 of them, AccordionPane.selected property for all 3 of them are "True" now. Is this a bug, or there is other ways to determine which AccordionPane is currently being selected (in focus)? Thanks in advance!

David

© Stack Overflow or respective owner

Related posts about dojo

Related posts about accordionpane