Page 1 of 1

Auto-closing Tabs

PostPosted: 15 Feb 2015 14:07
by stuartcf
I am a relatively new adopter of CGDevTools components, using them with Delphi XE7 and Intraweb 14. My JavaScript knowledge is minimal, and so I tend to rely on doing things the "Delphi" way (hence choosing your packages).

After looking through and experimenting with the available sample demos and documentation I could find on your Accordion component, I am unable to find a way of automatically closing any tab that is already open when a new one is accessed. Is this possible?

The typical events needed for me to code such a task do not seem to be surfaced in your components. Am I missing something, or is this something for the wishlist?

Regards

Stuart.

Re: Auto-closing Tabs

PostPosted: 16 Feb 2015 10:20
by Alexander Bulei
Hi Stuart,

Please set the IWCGJQMAccordion.GroupTabs to True:

delphi code
IWCGJQMAccordion.GroupTabs:= True;


Best Regards.

Re: Auto-closing Tabs

PostPosted: 16 Feb 2015 12:08
by stuartcf
Perfect! How did I miss that? :oops:

Thanks guys!