We are using Infragistics Version 8.3.20083.2021
In a grid we have following data
Row No Description Alternate AlternateID ABC Base 11 MNO Test 32 XYZ Alternate1 23 AAA Alternate1 24 BBB Base 15 CCC Base 1
We want the columns to be sorted as RowNo,AlternateId,Alternate. We do not want the AlternateID row to be visible in the grouping.
For grouping we are using following code :
ulGridEstimateDetail.DisplayLayout.Bands(0).SortedColumns.Add(ulGridEstimateDetail.DisplayLayout.Bands(0).Columns(
"RowNo"), False, False
)
"AlternateID"), False, True
"Alternate"), False, True
"Division"), False, True
"SubDivision"), False, True
We have to take the AlternateID column as we want it to be sorted by the ID first and then its Description.
In the initialize layout procedure of the grid we are using the following code
ulGridEstimateDetail.DisplayLayout.Override.GroupByRowDescriptionMask = "[Caption] : [Value]"
Please tell us what can be done so that we can hide the AlternateID Column .
Please find attached an snap shot. We do not want the alternateID Group heading row to be visible.
Hi,
I'm afraid I do not understand what you want here. Your question does not appear to make sense. You want to group by the AlternateID, but not show the AlternateID? I don't understand what that means. what do you want to display in the group by rows for the top level, then?
Hi, I want to group it by AlternateID, Alternate , Division and Subdivision. I dont want the alternateID to be displayed in the Group header. For displaying purpose it should be grouped by Alternate,Division and Subdivision.
If I group it by only Alternate, Division and Subdivision it would be grouped in an alphabatical order, which we dont want. We want that that it should be grouped on AlternateID wise. I.e it should look like
è Base
Division
SubDivision
è Alternate 1
è Test
Looking forward for your reply.