EasyUI Forum

General Category => EasyUI for jQuery => Topic started by: mzeddd on August 20, 2012, 05:44:21 AM



Title: How to create accardion with only one panel which is closed from the beginning?
Post by: mzeddd on August 20, 2012, 05:44:21 AM
Hi,

Subj?

In my page it appears in opened state every time.

Code:
<div id="extraSearchParams" class="easyui-accordion" style="width:800px;height:auto;padding:0px">
    <div title="Additional search parameters" style="overflow:hidden;padding:0px;" data-options="selected:false">123123123</div>
</div>

Thanks


Title: Re: How to create accardion with only one panel which is closed from the beginning?
Post by: stworthy on August 20, 2012, 11:13:17 AM
The accordion will expand a panel after created. If the accordion has only one panel, why not use panel instead?