EasyUI Forum

General Category => EasyUI for jQuery => Topic started by: Opan Mustopah on January 31, 2015, 01:54:27 AM



Title: accordion container resizeable
Post by: Opan Mustopah on January 31, 2015, 01:54:27 AM
hello again,

my question already on my title post.
how to make accordion plugins to achieve that feature. as far as i can see in document, accordion doesn't have resize panel feature.

many thanks for the answer.


Title: Re: accordion container resizeable
Post by: stworthy on January 31, 2015, 03:02:00 AM
The accordion has no resizable feature, but you can place it in a resizable container to get this feature.
Code:
<div class="easyui-resizable" data-options="onStopResize:function(){$('#aa').accordion('resize')}" style="border:1px solid red;width:500px;height:300px;padding:10px">
  <div id="aa" class="easyui-accordion" fit="true">
    <div title="About">
    </div>
    <div title="Help">
    </div>
  </div>
</div>


Title: Re: accordion container resizeable
Post by: Opan Mustopah on January 31, 2015, 06:09:25 AM
thanks stworthy your answer, i'll try your suggestion ASAP.