ilixiaojun 你好,
可以通过以下方法实现,下列代码隐藏了 剪切 按钮:
- protected override void Render(HtmlTextWriter writer)
- {
- Table cmdTable = this.FpSpread1.FindControl("cmdTable") as Table;
- TableRow commandBarRow = cmdTable.Rows[0];
- commandBarRow.Cells.RemoveAt(4);
-
- base.Render(writer);
- }
复制代码 |