CGDevTools Forum

Welcome to the Official CGDevTools Support Community Forums.

Dynamically change Enabled on Left / Right header button

by JohnFSklavounos » 20 Jul 2014 05:10

Hi All,

When changing the enabled property in code, I'm not able to change the visibility of either button.

I have the following properties set
JQMPageHeader.LoadHidden := true;
JQMPageHeader.RenderInvisibleControls := true;
JQMPageHeader.StyleRenderOptions.RenderVisibility := true;
JQMPageHeader.StyleRenderOptions.UseDisplay := true;

When a value is found in the back end database, I set JQMPageHeader.JQMPageHeaderOptions.LeftButton.Enable := true but nothing happens on the screen, even when I perform .Refresh or .AjaxReRender() or .AjaxReRender(false, true);

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 » 21 Jul 2014 11:15

Hi JohnFSklavounos,

Property Enable - Enable/Disable button to be rendered.
Unfortunately, the header and footer components doesn't support the ajaxrerender because of jquery mobile framework,
so we have implemented the two new properties to manage the layout:

  • Display
  • Visible

Difference Display vs Visible

Will be available in next build.

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 JQMPageHeader

Who is online

Users browsing this forum: No registered users and 1 guest

Contact Us.