EasyUI Forum
December 05, 2025, 03:04:10 PM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News:
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: separator in panel  (Read 7503 times)
crosemffet
Jr. Member
**
Posts: 68



View Profile WWW Email
« on: April 03, 2016, 05:07:05 AM »

hello, and thanks for your support:
in my panel I want to add one icon (16x16) acting as separator.
my code is:
iconCls:'icon-transparent',handler:function(){void(0);}
the icon separator shows ok, the problem is on the transparent icon the cursor shows the hand style, and the user can perform the click event on the transparent icon. the idea is one transparent icon with no click event at all and no hand cursor at all.
any idea?
thanks you in advance,
Logged
stworthy
Administrator
Hero Member
*****
Posts: 3581


View Profile Email
« Reply #1 on: April 03, 2016, 07:44:58 AM »

To custom the panel tools, you have to define it inside an existing element. Please try this:
Code:
<div class="easyui-panel" title="Custom Panel Tools" style="width:700px;height:200px;" data-options="closable:true,tools:'#tt'">
</div>
<div id="tt">
<span class="icon-transparent" style="display:inline-block;width:16px;height:16px;vertical-align:top"></span>
</div>
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!