update
This commit is contained in:
@@ -179,6 +179,7 @@ func main() {
|
|||||||
// cell is still a reference to the last cell in the header row
|
// cell is still a reference to the last cell in the header row
|
||||||
filterRange := "A1:" + cell
|
filterRange := "A1:" + cell
|
||||||
fmt.Printf("Setting autofilter to range '%s'\n", filterRange)
|
fmt.Printf("Setting autofilter to range '%s'\n", filterRange)
|
||||||
|
// As per docs any filters applied need to be manually processed by us (eg hiding rows with blanks)
|
||||||
err = xlsx.AutoFilter(worksheetName, filterRange, nil)
|
err = xlsx.AutoFilter(worksheetName, filterRange, nil)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
fmt.Printf("Error setting autofilter : '%s'\n", err)
|
fmt.Printf("Error setting autofilter : '%s'\n", err)
|
||||||
|
BIN
json2excel
BIN
json2excel
Binary file not shown.
Reference in New Issue
Block a user