CGDevTools Forum

Welcome to the Official CGDevTools Support Community Forums.

How to change Tab caption during runtime

by JohnFSklavounos » 27 Dec 2014 06:16

Hello All,

Hope you had a happy Christmas!

Is there a way to change (and ReRender) the caption of an ajax tab without ReRendering the entire tab set? I have an app where I create tabs dynamically at run time and throughout the tab's life the caption may change. For example, the user creates a new tab which has the caption 'New Contract (1)'. Once the data is entered, validated and saved it's caption is changed to 'Contract 12345 [Open]'.

Right now I have to ReRender the tabs and while this accomplishes the goal, when I have many tabs open it takes a really long time because it ReRenders all created tabs - not just the visible one.

Any ideas?

Thanks!
John
John F. Sklavounos
Software Developer
Always learning

XE7: Update 1
FireDAC: 20.0.16277 (Build 1276)
IW: 14.0.41
CG : 2.6.0.100
JohnFSklavounos
 
Posts: 109
Joined: 14 Aug 2013 00:35
Location: Miami, FL

by Alexander Bulei » 29 Dec 2014 11:30

Hi John,

Added in v2.5.0.3:

Code: Select all
IWCGJQTabs
- Added: support for ajax changing of Caption


Best Regards.
Group: Developers | Support Team

  • info [at] cgdevtools.com - General information
  • sales [at] cgdevtools.com - Sales department
  • support [at] cgdevtools.com - Product and Technical Support
User avatar
Alexander Bulei
Site Admin
 
Posts: 3635
Joined: 15 May 2012 08:52
Location: Mealhada, Portugal


Return to JQTabs

cron

Who is online

Users browsing this forum: No registered users and 1 guest

Contact Us.