Tuesday, March 23, 2010

DevExpress XtraGrid - Group by Column - Enable/Disable

assuming you have

DevExpress.XtraGrid.GridControl gridControl;
DevExpress.XtraGrid.Views.Grid.GridView gridView;

to enable grouping capability
gridView.OptionsView.ShowGroupPanel = true

to disable
gridView.OptionsView.ShowGroupPanel = false

No comments:

Post a Comment

comment: