Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
550
Unable to Group by properly in Mutiple bands grid?
posted

Hi,

     I have a WinGrid which is bound to a multiple band Ultradatasource (2 bands). The Parent and child columns are in sync i.e. if there is a column that has data at both parent and child level then it is shown for both levels. Now i have set these properties:

ugrid.DisplayLayout.Bands[1].ColHeadersVisible = false;

ugrid.DisplayLayout.Override.HeaderPlacement = HeaderPlacement.FixedOnTop;

So i am showing only one set of Column headers. However when the user drags and drops a column (using column header) then only Band 0 column gets added to the GroupBy box and column values no longer remain in sync. What i want is when a user drags a column using column header then this column from both bands should get added to the Groupby box. Please let me know hwo it is possible? Is there any event that i could use?

 

Cheers,

 

SK

  • 550
    Verified Answer
    posted

    Got it. Needed to do:

    ugrid.DisplayLayout.Override.GroupByColumnsHidden = Infragistics.Win.DefaultableBoolean.False;

    SK.