EasyUI Forum
May 17, 2024, 08:45:22 AM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News:
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: change layout panel header dynamicaly  (Read 8555 times)
yogesh
Newbie
*
Posts: 47


View Profile Email
« on: February 07, 2013, 05:43:00 AM »

 I want to add layout panel header dynamically how to achieve this 

 currently i am using below tag

 "<div data-options="region:'center',title:'Object Display',iconCls:'icon-ok'">"


in documentation code is given for add new panel

$('#cc').layout('add',{ 
    region: 'west', 
    width: 180, 
    title: 'West Title', 
    split: true, 
    tools: [{ 
        iconCls:'icon-add', 
        handler:function(){alert('add')} 
    },{ 
        iconCls:'icon-remove', 
        handler:function(){alert('remove')} 
    }] 
});

Thanks!
Logged
Stefan B.
Full Member
***
Posts: 152


Software Architekt


View Profile Email
« Reply #1 on: July 04, 2014, 01:45:23 AM »

This is an good question.
I have not seen any example that shows how include customer tools in a layout panel header
Logged
Pierre
Sr. Member
****
Posts: 439


View Profile Email
« Reply #2 on: February 16, 2015, 07:50:08 AM »

I know it is Old topic but maybe it will help to someone as it helped to me (Subject is very clear) and solution is here:
http://www.jeasyui.com/forum/index.php?topic=1813.0
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!