回复 3楼sakeryu的帖子
该事件没有开放调用接口,请尝试以下代码:
- private void bottomToolStripMenuItem_Click(object sender, EventArgs e)
- {
- this.fpSpread1.Sheets[0].Rows.Add(this.fpSpread1.Sheets[0].Rows.Count - 1, 1);
- this.fpSpread1.SetViewportTopRow(0, this.fpSpread1.Sheets[0].Rows.Count - 1);
- }
复制代码 |