Settings for GridJs
Contents
[
Hide
]
There are some settings we can specified by set GridWorkbookSettings :
For example, the following code set the ReCalculateOnOpen to false to stop the caculate on opening the file :
gw = GridJsWorkbook()
gws = GridWorkbookSettings()
# do not re-calculate all formulas on opening the file.
gws.re_calculate_on_open = False
gw.settings = gws
gw.import_excel_file(r"c:\test.xlsx")
the following code set the author for the file :
gw = GridJsWorkbook()
gws = GridWorkbookSettings()
# et author
gws.author = "peter"
gw.settings = gws
gw.import_excel_file(r"c:\test.xlsx")
You can check more settings in this class.