CGDevTools Forum

Welcome to the Official CGDevTools Support Community Forums.

Accordion and Dropdown 2nd edition

by assapan » 02 Nov 2016 18:30

Hi,
i am facing the same problem as latest http://www.cgdevtools.com/cgforum/viewtopic.php?f=30&t=2743 but the case is totally different i am not using frames .
on a form have an accordion containing a combobox and a dropdown .
when click on button "translate" i just change the accordion tab caption without ajaxrender it
Code: Select all
procedure TIWForm4.IWCGJQButton1JQButtonOptionsClick(Sender: TObject; AParams: TStringList);
begin
  IWCGJQAccordion1.Tabs[0].Caption:='Translated 0';
  IWCGJQAccordion1.Tabs[1].Caption:='Translated 1';
end;


when click on button "translate Ajaxrender" i change the accordion tab caption with ajaxrender

Code: Select all
procedure TIWForm4.IWCGJQButton2JQButtonOptionsClick(Sender: TObject; AParams: TStringList);
begin
  IWCGJQAccordion1.Tabs[0].Caption:='Translated Ajax 0';
  IWCGJQAccordion1.Tabs[1].Caption:='Translated Ajax 1';
  IWCGJQAccordion1.AjaxReRender(True,True);
end;


In both case combobox and dropdown selected caption is = to the tab caption !!!

demonstration video
http://assapan.fr/AccordionCombobox.mp4

see attached demo software
You do not have the required permissions to view the files attached to this post.
Want to visit Ardeche http://leclosdelarc.fr/index.php
The Pont d’Arc Cavern http://en.cavernedupontdarc.fr
Image
User avatar
assapan
 
Posts: 600
Joined: 16 Dec 2013 12:04
Location: France

Return to JQAccordion

Who is online

Users browsing this forum: No registered users and 1 guest

Contact Us.