EasyUI
Home
Demo
Tutorial
Documentation
Download
Extension
Contact
Forum
EasyUI Forum
May 16, 2024, 09:09:55 AM
Welcome,
Guest
. Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News
:
Home
Help
Search
Login
Register
EasyUI Forum
>
General Category
>
EasyUI for jQuery
>
How to change the column configuration for a portal on the fly?
Pages: [
1
]
« previous
next »
Print
Author
Topic: How to change the column configuration for a portal on the fly? (Read 11600 times)
tslatt
Jr. Member
Posts: 85
How to change the column configuration for a portal on the fly?
«
on:
January 11, 2012, 11:07:53 AM »
I have a 3-column portal where each column has equal widths. I have a form that allows the user to change the number of columns in the portal (1, 2, or 3) and change the relative widths of the columns (for example, 2 skinny columns and 1 wide column).
This works great IF I allow a submit of the form to reload the page, because the column configuration is set up before the portal is initialized and before the panels are added to the portal. However, I need to be able to submit the form without reloading the whole page.
I put a click function on the submit button instead of doing a page reload on submit. That part works fine. What I am having trouble with is how to apply the column changes to a portal that
already
exists on the page.
Specifically:
- Is there a way to show/hide columns and change column widths on an existing portal, or does the portal have to be reloaded somehow?
I would really appreciate any help anyone can give me.
Logged
tslatt
Jr. Member
Posts: 85
Re: How to change the column configuration for a portal on the fly?
«
Reply #1 on:
February 03, 2012, 04:30:34 PM »
In the end, the only way I found to do this was by reloading the portal.
Logged
Pages: [
1
]
Print
« previous
next »
Jump to:
Please select a destination:
-----------------------------
General Category
-----------------------------
=> News
=> General Discussion
=> EasyUI for jQuery
=> EasyUI for Angular
=> EasyUI for Vue
=> EasyUI for React
=> Bug Report
Loading...