summaryrefslogtreecommitdiff
path: root/rows.go
diff options
context:
space:
mode:
authorxuri <xuri.me@gmail.com>2019-06-08 00:00:55 +0800
committerxuri <xuri.me@gmail.com>2019-06-08 00:00:55 +0800
commit421f945f51f254054991127758db0520cf0f5456 (patch)
tree9f8d0ae3c10a623d537ac3e84733e32feb9107b4 /rows.go
parent3997dee1f58c81444733e1756da6138d4ce445f1 (diff)
Fixed #418, #420, #421, init adjust calculation chain support
Update testing case
Diffstat (limited to 'rows.go')
-rw-r--r--rows.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/rows.go b/rows.go
index b228fc2..249ca2f 100644
--- a/rows.go
+++ b/rows.go
@@ -439,6 +439,10 @@ func (f *File) RemoveRow(sheet string, row int) error {
//
// err := f.InsertRow("Sheet1", 3)
//
+// Use this method with caution, which will affect changes in references such
+// as formulas, charts, and so on. If there is any referenced value of the
+// worksheet, it will cause a file error when you open it. The excelize only
+// partially updates these references currently.
func (f *File) InsertRow(sheet string, row int) error {
if row < 1 {
return newInvalidRowNumberError(row)