hi
i have a new requeriment of a user, i need a calendar for a fast search of a specific day and cant permit to redict to the tasks of that day.
thanks,
Support Forum
It should be simple to just add an Ext DatePicker as seen here: https://dev.sencha.com/deploy/dev/exampl ... menus.html
And in its handler, just update the scheduler by calling "setView(start, end)"...
And in its handler, just update the scheduler by calling "setView(start, end)"...
var dateMenu = new Ext.menu.DateMenu({
handler: function(dp, date){
Ext.example.msg('Date Selected', 'You chose {0}.', date.format('M j, Y'));
}
});
Yes the menu can be part of a button in a tbar. See the source here: https://dev.sencha.com/deploy/dev/examples/menu/menus.js
hi Mats
im not sure how to call menu, i tried this
please could you guide me the right way thanks
im not sure how to call menu, i tried this
tbar: [
{
text: 'calendar',
handler:function () {
var menu = new Ext.menu.Menu({
id: 'mainMenu',
style: {
overflow: 'visible' // For the Combo popup
},
items: [
{ text: 'Choose a Date',
iconCls: 'calendar',
menu: dateMenu // <-- submenu by reference
}
]
});
}],