-
Sencha Premium Member
Flex not working with grouped column headers
I'm trying to use grouped column headers :
columns: [
{
header:'1',
flex:1,
dataIndex:'id'
},
{
header: 'Group 1',
columns: [
{ header: '2', dataIndex : 'name', flex:1 }
]
}
]
I want the "Group 1" to be the same size as the first column - theres a flex:1 on both
ExtJS is telling me I cant use a "flex" directly on the group column - its calculated by adding the child columns - but that doesnt see to work.
I've tried 7.0, 7.1 and 7.2 in sencha fiddle.
According to this :
https://forum.sencha.com/forum/showt...flex-attribute
There was a similar issue in version 6 - but that was supposed to have been fixed in 6.2 - but even selecting that doesnt seem to work
https://fiddle.sencha.com/#fiddle/38mk
Any ideas ?
-
Try this
columns: [
{
header:'1',
flex:1,
dataIndex:'id'
},
{
header: 'Group 1',
flex: 1,
columns: [
{ header: '2', dataIndex : 'name', flex:1 }
]
}
]
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules