i created bands and column on aspx page as below:
one parent table and two first level child table,
i set one column of one child table to hide in aspx as
<ig:BoundDataField DataFieldName="CRG_ID" DataType="System.Int32" Key="CRG_ID" Width="100px" Hidden="True">
this column hidden only working in firstpage, if go other page, this hiddend field show up again.
actually, any post back will make this hidden not working.
does anybody help me ?
thanks
<ig:WebHierarchicalDataGrid ID="WebHierarchicalDataGrid1" runat="server" Height="100%" oninitializeband="WebHierarchicalDataGrid1_InitializeBand" onrowislandspopulating="WebHierarchicalDataGrid1_RowIslandsPopulating" StyleSetName="Office2007Silver" Width="980px" ondatabound="WebHierarchicalDataGrid1_DataBound" ongroupedrowinitialized="WebHierarchicalDataGrid1_GroupedRowInitialized" oninitializerow="WebHierarchicalDataGrid1_InitializeRow" onpageindexchanged="WebHierarchicalDataGrid1_PageIndexChanged" onprerender="WebHierarchicalDataGrid1_PreRender" onrowislanddatabound="WebHierarchicalDataGrid1_RowIslandDataBound" AutoGenerateColumns="False" DataKeyFields="JOB_ID" DataMember="Table" DefaultColumnWidth="90px" onrowislanddatabinding="WebHierarchicalDataGrid1_RowIslandDataBinding" onrowislandcreated="WebHierarchicalDataGrid1_RowIslandCreated"> <Columns> <ig:BoundDataField DataFieldName="JOB_ID" DataType="System.Int32" Key="JOB_ID" Width="800px"> <Header Text="JOB_ID" /> </ig:BoundDataField> </Columns> <Behaviors> <ig:Paging EnableInheritance="True" PagerMode="NumericFirstLast" PageSize="10" QuickPages="5"> </ig:Paging> <ig:Sorting> </ig:Sorting> <ig:Selection> </ig:Selection> <ig:RowSelectors> </ig:RowSelectors> <ig:Activation> </ig:Activation> </Behaviors> <Bands> <ig:Band AutoGenerateColumns="False" DataKeyFields="CRG_ID" DataMember="table1" Key="ChildBand_0" Width="500px"> <Columns> <ig:BoundDataField DataFieldName="CRG_ID" DataType="System.Int32" Key="CRG_ID" Width="100px"> <Header Text="CRG_ID" /> </ig:BoundDataField> <ig:BoundDataField DataFieldName="MMB_SHIPPER_NAME" Key="MMB_SHIPPER_NAME"> <Header Text="MMB_SHIPPER_NAME" /> </ig:BoundDataField> </Columns> <Behaviors> <ig:Sorting> </ig:Sorting> </Behaviors> </ig:Band> <ig:Band AutoGenerateColumns="False" DataKeyFields="VCRG_ID" DataMember="table2" Key="ChildBand_1" Width="600px"> <Columns> <ig:BoundDataField DataFieldName="VCRG_ID" Key="VCRG_ID" Width="70px"> <Header Text="VCRG_ID" /> </ig:BoundDataField> <ig:BoundDataField DataFieldName="VCRG_VIN" DataType="System.String" Key="VCRG_VIN" Width="150px"> <Header Text="VIN" /> </ig:BoundDataField> </Columns> <Behaviors> <ig:Sorting> <ColumnSettings> <ig:SortingColumnSetting ColumnKey="VCRG_VIN" /> </ColumnSettings> </ig:Sorting> </Behaviors> </ig:Band> </Bands> </ig:WebHierarchicalDataGrid>
Hello dudu0317 ,
Thank you for posting in our forums.
This is a known issue which is fixed and will be included in the next service release.
Issue 95783 : Hidden column appears after sorting
The same issue happens when paging is enabled.
I checked the behavior after the fix and the issue doesn't occur.
The SR is scheduled for the next week.
Let me know if you need further assistance regarding this.
Where can I find this, as I am experiencing the same issues.
I am using VB.Net, 3.5, v11.2,
Thanks
Hello,
The issue is fixed and will be included in the first Service release of v11.2
The SR of v11.1 is already out.