Good day!
I work on ext js 4.2 .
I have a datefield :
{ xtype: 'datefield', format: 'dmY', width: 300, margin: '0 50 0 150', },{ xtype: 'datefield', format: 'dmY', margin: '0 0 0 100', width:300 } Grid:
var createGrid = function () { Ext.create('Ext.grid.Panel', { renderTo: Ext.getBody(), width: 1580, pagesize:'2', border: false, height: 500, defaults: { padding: '2' }, And button :
{ xtype: 'button', text: 'Потвердить', width: 300, height: 25, margin:'0 0 0 120', } It is necessary: select the date and click on the button, and the grid should show the corresponding entry.