Title: How to add tool buttons on expandPanel in layout? Post by: SeanHan on October 16, 2014, 12:13:51 AM anyone help?
Title: Re: How to add tool buttons on expandPanel in layout? Post by: SeanHan on October 20, 2014, 06:15:41 PM Dose this feature not supported in current version? Or any other ways to get it?
Title: Re: How to add tool buttons on expandPanel in layout? Post by: stworthy on October 20, 2014, 08:44:38 PM Any region panels accept the 'tools' property that allows you to add icons to the panel header.
Code: <div class="easyui-layout" style="width:700px;height:350px;"> Title: Re: How to add tool buttons on expandPanel in layout? Post by: SeanHan on October 20, 2014, 11:23:43 PM Any region panels accept the 'tools' property that allows you to add icons to the panel header. Code: <div class="easyui-layout" style="width:700px;height:350px;"> Thanks for your reply, but your code only shows how to add icons on normal panel. I just don't know how to add these icons on expand panel when a panel hidden. Title: Re: How to add tool buttons on expandPanel in layout? Post by: stworthy on October 21, 2014, 12:19:20 AM In the 'onCollapse' event, get the expanding panel and override the 'tools' property. Please refer the code below:
Code: <div class="easyui-layout" style="width:700px;height:350px;"> Title: Re: How to add tool buttons on expandPanel in layout? Post by: SeanHan on October 21, 2014, 06:36:42 PM In the 'onCollapse' event, get the expanding panel and override the 'tools' property. Please refer the code below: Code: <div class="easyui-layout" style="width:700px;height:350px;"> Thank you very much! |