PDA

View Full Version : [CLOSED] GroupField : GroupField value not showing



matrixwebtech
Mar 11, 2015, 6:00 PM
Hi
I add a group in gridpanel's store

.GroupField("StrDate")
.GroupDir(Ext.Net.SortDirection.DESC)
and model is

Html.X().ModelField().Name("StrDate").Type(ModelFieldType.String),

also assign a column in grid with the same group field

Html.X().Column()
.Wrap(true)
.Text("Requisition Date")
.DataIndex("StrDate")
.Resizable(true)
.Flex(1)

but column dose not show.but If I remove
.GroupField("StrDate")
.GroupDir(Ext.Net.SortDirection.DESC) the column show with value.how can I set this ,so its work for both.show group and the value in column as well.

Daniil
Mar 11, 2015, 8:22 PM
Hi @matrixwebtech,

Please clarify are you adding a Grouping plugin to the GridPanel?

Could you, please, provide a full test case to reproduce the problem?

matrixwebtech
Mar 12, 2015, 4:30 AM
I can describe the problem with http://mvc2.ext.net/#/GridPanel_Plugins/GroupingSummary/ you group records on Name field .GroupField("Name") and also add a column Project

Html.X().Column()
.Text("Project")
.DataIndex("Name")
.Width(20), but the Project Column showing.

Daniil
Mar 12, 2015, 12:17 PM
Do you expect a grouped Column should be hidden by default?

It is not hidden by default. To change it you can set HideGroupedHeader="true" for a Grouping plugin.