EasyUI
Home
Demo
Tutorial
Documentation
Download
Extension
Contact
Forum
EasyUI Forum
September 14, 2025, 02:11:34 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
>
[SOLVED] Layout - collapse will not work
Pages: [
1
]
« previous
next »
Print
Author
Topic: [SOLVED] Layout - collapse will not work (Read 8207 times)
Pierre
Sr. Member
Posts: 439
[SOLVED] Layout - collapse will not work
«
on:
October 05, 2013, 11:56:51 AM »
Hi all
I have some "west" panel with few buttons on it and it works perfect.
When I remove buttons from panel (using this code):
var c = $('#members_tree_layout'); // layout object
var w = c.layout('panel','west'); // get panel
w.panel('header').html('<div class="panel-title">New Title</div><div class="panel-tool"><a style="display: none;" class="panel-tool-collapse" href="javascript:void(0)"></a><a class="layout-button-left" href="javascript:void(0)"></a></div>');
panel have "Collapse" button but when I click on it, it does not work (panel is not collapsed).
Any idea why not?
[SOLVED]
see: [SOLVED] How to delete controls?
«
Last Edit: October 06, 2013, 01:05:46 PM by Pierre
»
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...