回复 3楼noahark的帖子
设置方法如下:
- protected void Page_Load(object sender, EventArgs e)
- {
- if (IsPostBack)
- {
- return;
- }
- this.FpSpread1.AllowHeaderResize = false;
- int columnCount = this.FpSpread1.Sheets[0].ColumnCount;
- for (int i = 0; i < columnCount; i++)
- {
- this.FpSpread1.Sheets[0].Columns[i].Resizable = false;
- }
- }
复制代码 |