summaryrefslogtreecommitdiff
path: root/rows.go
diff options
context:
space:
mode:
authorxuri <xuri.me@gmail.com>2021-12-04 13:07:58 +0800
committerxuri <xuri.me@gmail.com>2021-12-04 13:11:01 +0800
commite0c6fa1beb0f1025489bbd21859bc9134c1d661a (patch)
tree6f42d081f7fbc4381ff70652f5c2dc3312ea7dc3 /rows.go
parent577a07f08c6121d627323db00fdf9e74989a5515 (diff)
Update docs for SetSheetStyle, and added 2 formula functions
ref #65: new formula functions DURATION and MDURATION fix incorrect example in SetSheetStyle docs
Diffstat (limited to 'rows.go')
-rw-r--r--rows.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/rows.go b/rows.go
index 1e20f0a..7b2f52f 100644
--- a/rows.go
+++ b/rows.go
@@ -774,11 +774,11 @@ func checkRow(ws *xlsxWorksheet) error {
//
// For example set style of row 1 on Sheet1:
//
-// err = f.SetRowStyle("Sheet1", 1, style)
+// err = f.SetRowStyle("Sheet1", 1, 1, styleID)
//
// Set style of rows 1 to 10 on Sheet1:
//
-// err = f.SetRowStyle("Sheet1", 1, 10, style)
+// err = f.SetRowStyle("Sheet1", 1, 10, styleID)
//
func (f *File) SetRowStyle(sheet string, start, end, styleID int) error {
if end < start {