summaryrefslogtreecommitdiff
path: root/cell.go
diff options
context:
space:
mode:
authorxuri <xuri.me@gmail.com>2021-08-12 00:02:27 +0800
committerxuri <xuri.me@gmail.com>2021-08-12 00:02:27 +0800
commit43a057b1eaeb810495618d70c2dc2d3e5df1fea4 (patch)
tree1bcde66b802d8867fccd2eedbefd9b7d3eb49fde /cell.go
parentc49e7aab306437f0e721620af4a24364edf4d601 (diff)
This closes #986, fix set data validation drop list failed in some cases
Update documentation for `GetCellValue` and simplify code
Diffstat (limited to 'cell.go')
-rw-r--r--cell.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/cell.go b/cell.go
index f44e877..9200d13 100644
--- a/cell.go
+++ b/cell.go
@@ -34,8 +34,8 @@ const (
// GetCellValue provides a function to get formatted value from cell by given
// worksheet name and axis in spreadsheet file. If it is possible to apply a
// format to the cell value, it will do so, if not then an error will be
-// returned, along with the raw value of the cell. All cells value will be
-// same in a merged range.
+// returned, along with the raw value of the cell. All cells' values will be
+// the same in a merged range.
func (f *File) GetCellValue(sheet, axis string) (string, error) {
return f.getCellStringFunc(sheet, axis, func(x *xlsxWorksheet, c *xlsxC) (string, bool, error) {
val, err := c.getValueFrom(f, f.sharedStringsReader())