Page 1 of 1

Smooth changing of PanelRegion width (like manual dragging)

PostPosted: 26 Jul 2016 11:05
by jorgo
Hallo,

I'm testing TIWCGJQLayout component with 2 TIWCGJQLayoutPanelRegions.

Code: Select all
LAY_BasisPanel: TIWCGJQLayout;
LAY_ClientPanel: TIWCGJQLayoutPanelRegion;
LAY_RightPanel: TIWCGJQLayoutPanelRegion;

LAY_ClientPanel.Align := alClient;
LAY_RightPanel.Align := alRight;
LAY_RightPanel.Width := 300;


By hand I can change the width of both panels smoothly by dragging the border between both panels.

How can I do that by source code?

(Following is runing, but it's not so smooth as by hand. It's plopping in new positions.)

Code: Select all
LAY_RightPanel.Width := 500;
LAY_BasisPanel.AjaxReRender(false, true);

Re: Smooth changing of PanelRegion width (like manual draggi

PostPosted: 26 Jul 2016 16:17
by Alexander Bulei
Hi,

By hand I can change the width of both panels smoothly by dragging the border between both panels.

How can I do that by source code?


No, there is no way to do that smoothly...

Best Regards.

Re: Smooth changing of PanelRegion width (like manual draggi

PostPosted: 27 Jul 2016 09:48
by jorgo
No sorry,

I mean how can I change the Width to 500 without a AjaxReRender.
I don't want to loose input in all data fields.

Both panels have to change their width.

Re: Smooth changing of PanelRegion width (like manual draggi

PostPosted: 27 Jul 2016 10:58
by Alexander Bulei
Hi,
You can change the width/height without AjaxReRender.

P.S: Please tell me your client ID.

Best Regards.

Re: Smooth changing of PanelRegion width (like manual draggi

PostPosted: 08 Aug 2016 07:28
by jorgo
Hallo,

we registered on last friday.

Where can I find this client ID?

Kind regards

Re: Smooth changing of PanelRegion width (like manual draggi

PostPosted: 08 Aug 2016 10:32
by Alexander Bulei
Hi jorgo,

On the invoice that we send you.
P.S: For the security reasons, please send us via email.

Best Regards.