Yes.
I create what I want by this code:
var employeeWorks = new Kwf.Auto.GridPanel({
controllerUrl : '/exceluploads',
region : 'center',
height : 600,
resizable : true,
split : true,
title : 'Данные по сотрудникам',
tbar: [
'->',
{
text:'Выгрузки',
icon: '/assets/silkicons/page_excel.png',
cls: 'x-btn-text-icon',
menu: [{
text:'Выгрузка EXXON',
icon: '/assets/silkicons/page_excel.png',
cls: 'x-btn-text-icon',
},{
text:'Выгрузка SEIC',
icon: '/assets/silkicons/page_excel.png',
cls: 'x-btn-text-icon'
}
]
},
]
});
See tbar.jpg screen with 1 and 2 areas...
But it creates +1 panel higher of standard panel =(
I want to change Export to excel button (area 1) to my dropdown buttons (area 2). How to do this?
And click on element of dropdown menu I want to create modal gialog with 2 datepickers - start date, end date and buttons OK, Cancel. And after click OK Excel unloading starts from start date to end date of data. How to do this too? =)