CGDevTools Forum

Welcome to the Official CGDevTools Support Community Forums.

JQRegion visibility

by MarcoRu » 23 Sep 2014 16:53

Hi all,
I'm having a problem with a JQMemo. I want to make it visible at runtime, but I am not succeeding. I have a region with a memo in it. The region is on a JQgrid (see attached picture).

Immagine.jpg


In IWCGJQFrameCreate I set IWCGJQRegionMemo.Visible := false. What should I do to make it visible and hide it at runtime? I try to set IWCGJQRegionMemo.Visible := true but doesen't work, it works only if in IWCGJQFrameCreate I set IWCGJQRegionMemo.Visible := true, but I don't want to see it on form create.

Thanks
You do not have the required permissions to view the files attached to this post.
MarcoRu
 
Posts: 41
Joined: 23 Sep 2014 16:39

by Jorge Sousa » 23 Sep 2014 17:05

you must set the parent's RenderInvisibleControls=True of that JQRegion

only in new IW 14.0.33, RenderInvisibleControls=True is by default, in fact this was our suggestion.

for all the previous versions RenderInvisibleControls=False, which means that it doesn't render the region, and since is not rendered you cannot turn it visible because it's not there, in the html.
Best Regards
CGDevTools Develop / Support Team
Home Page: http://www.cgdevtools.com
Jorge Sousa
 
Posts: 4261
Joined: 17 May 2012 09:58

by MarcoRu » 23 Sep 2014 17:22

The parent's RenderInvisibleControls is set to true (of gridFatture), but don't work :roll:
MarcoRu
 
Posts: 41
Joined: 23 Sep 2014 16:39

by Jorge Sousa » 23 Sep 2014 17:39

Hi again

What's the parent of IWCGJQRegionMemo? What's its RenderInvisibleControls value?

Can you send me that form by email or here? t.i.a.
Best Regards
CGDevTools Develop / Support Team
Home Page: http://www.cgdevtools.com
Jorge Sousa
 
Posts: 4261
Joined: 17 May 2012 09:58

by MarcoRu » 24 Sep 2014 08:25

Hi, the parent of IWCGJQRegionMemo is gridFatture, and his RenderInvisibleControls is set to true. In attach the .pas and .dfm files.

Thanks
You do not have the required permissions to view the files attached to this post.
MarcoRu
 
Posts: 41
Joined: 23 Sep 2014 16:39

by Jorge Sousa » 24 Sep 2014 10:44

Hello

The problem is that your IWCGJQRegionMemo is over the Grid, and this make the region appears on bottom of the grid, did you noticed?

Recheck the attached files with our changes.

Btw, could you please tell us what are the IW and CG versions that you've installed?
You do not have the required permissions to view the files attached to this post.
Best Regards
CGDevTools Develop / Support Team
Home Page: http://www.cgdevtools.com
Jorge Sousa
 
Posts: 4261
Joined: 17 May 2012 09:58

by Jorge Sousa » 24 Sep 2014 12:34

Btw

Use Grid.OnSort instead of JqGridOptions.OnSortCol
Best Regards
CGDevTools Develop / Support Team
Home Page: http://www.cgdevtools.com
Jorge Sousa
 
Posts: 4261
Joined: 17 May 2012 09:58

by MarcoRu » 24 Sep 2014 14:01

Thanks,
I'm using IW 14.0.32 and CG 2.1.0.3701
MarcoRu
 
Posts: 41
Joined: 23 Sep 2014 16:39


Return to JQRegion

Who is online

Users browsing this forum: No registered users and 1 guest

Contact Us.