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