I am trying to add a textfield (or combobox) into the column header of dynamic grid.
There are suggestions for using "items" property to resolve this problem like in example below (line 81 in live example ):
...
text: 'Email',
flex: 1,
menuDisabled: true,
sortable: false,
dataIndex: 'email',
items: [{
xtype: 'textfield',
labelWidth: 40,
flex: 1,
fieldLabel: 'Email'
}]
...
And it basically works but, there are several issues with layout which I cannot resolve myself:
- textfield control appears under the column title (expect horizontal items alignment);
- height of column header is to big (must be normal);
Here is a picture what I want to get.
Also, there is a live example in the fiddle with mentioned issues.
Are there any ideas how to fix this?