PDA

View Full Version : Grouping-Feature on Column ignores groupHeaderTpl initially



jonathan.d
27 Apr 2018, 3:42 AM
Hi,

I'm new on ExtReact and I found some Bugs. Here is the first one :-)



...
private store: any = Ext.create('Ext.data.Store', {
fields: ['col1', 'col2', 'col3'],
groupField: "col1",
pageSize: 0,
data: []
});

...

render() {
return (
<Grid grouped store={ this.store }>
<Column dataIndex="col1" groupHeaderTpl="Hello World!" />
</Grid>
);
}

...




First, I see "col1-value (x)" in the group header. After I clicked on "Group by this field" in the column option menu, my template "Hello world!" works correctly. I want to see my template initially.


I have 6.5.3 installed.

Thanks!

Jonathan