From e0c6fa1beb0f1025489bbd21859bc9134c1d661a Mon Sep 17 00:00:00 2001 From: xuri Date: Sat, 4 Dec 2021 13:07:58 +0800 Subject: Update docs for SetSheetStyle, and added 2 formula functions ref #65: new formula functions DURATION and MDURATION fix incorrect example in SetSheetStyle docs --- rows.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'rows.go') 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 { -- cgit v1.2.1