diff options
author | xuri <xuri.me@gmail.com> | 2021-08-12 00:02:27 +0800 |
---|---|---|
committer | xuri <xuri.me@gmail.com> | 2021-08-12 00:02:27 +0800 |
commit | 43a057b1eaeb810495618d70c2dc2d3e5df1fea4 (patch) | |
tree | 1bcde66b802d8867fccd2eedbefd9b7d3eb49fde /cell.go | |
parent | c49e7aab306437f0e721620af4a24364edf4d601 (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.go | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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()) |