summaryrefslogtreecommitdiff
path: root/styles.go
diff options
context:
space:
mode:
authorxuri <xuri.me@gmail.com>2021-08-17 00:01:44 +0800
committerxuri <xuri.me@gmail.com>2021-08-17 00:01:44 +0800
commita55f354eb3d0c6c1b9a543ff8ff98227aa6063a6 (patch)
treeb8832692047821630388ce55b9323d5b2a17bb55 /styles.go
parentb02f864eab5edb2155601b9dd640f99fbd442cb3 (diff)
This closes #989, closes #990
New API: `SetRowStyle` support for set style for the rows Update documentation for the `GetRows`, `SetCellStyle` and `SetColStyle`
Diffstat (limited to 'styles.go')
-rw-r--r--styles.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/styles.go b/styles.go
index 2a99a4d..d925ea9 100644
--- a/styles.go
+++ b/styles.go
@@ -2603,7 +2603,8 @@ func (f *File) GetCellStyle(sheet, axis string) (int, error) {
// SetCellStyle provides a function to add style attribute for cells by given
// worksheet name, coordinate area and style ID. Note that diagonalDown and
// diagonalUp type border should be use same color in the same coordinate
-// area.
+// area, this will overwrite the existing styles for the cell, it won't
+// append or merge style with existing styles.
//
// For example create a borders of cell H9 on Sheet1:
//