ASPxPivotGrid隐藏列

1、手动隐藏列:

 

2、自动隐藏列:

 1    /// PivotGrid绑定数据事件
 2     /// <summary>
 3     /// PivotGrid绑定数据事件
 4     /// </summary>
 5     /// <param name="sender"></param>
 6     /// <param name="e"></param>
 7   protected void pivotGridMain_DataBound(object sender, EventArgs e)
 8     {
 9         fieldBusiness.Visible = false;  //业务组
10         fieldCustomerName.Visible = false; //客户       
11         fieldCompanyName.Visible = false;  //产地名称
12         fieldCompanyCode.Visible = false;  //产地
13         fldCYQ.Visible = false;          //公司
14 }
View Code

 

posted @ 2014-01-09 09:41  Mander_Gao  阅读(336)  评论(0编辑  收藏  举报