Пример #1
0
        private void gridView1_MasterRowGetLevelDefaultView(object sender, DevExpress.XtraGrid.Views.Grid.MasterRowGetLevelDefaultViewEventArgs e)
        {
            GridView view = new GridView(gridControl1);

            view.Assign(gridControl1.MainView, true);
            view.OptionsView.ShowGroupPanel = false;
            e.DefaultView = view;
        }
 private void GridProjetos_MasterRowGetLevelDefaultView(object sender, DevExpress.XtraGrid.Views.Grid.MasterRowGetLevelDefaultViewEventArgs e)
 {
     e.DefaultView = gridBranches;
 }