DGV封装禁止列排序 //禁止列排序 this.dgvPlanDetail.Grid.DisplayLayout.Override.HeaderClickAction = HeaderClickAction.ExternalSortSingle;