Analyzing your prompt, please hold on...
An error occurred while retrieving the results. Please refresh the page and try again.
GridJs provides comprehensive configuration options through the GridWorkbookSettings class. These settings allow developers to customize various aspects of Excel file processing, including calculation behavior, metadata management, and performance optimization.
The GridWorkbookSettings class serves as the central configuration hub for GridJs operations.
GridJsWorkbook gw = new GridJsWorkbook();
GridWorkbookSettings gws = new GridWorkbookSettings();
// Do not re-calculate all formulas on opening the file
gws.setReCalculateOnOpen(false);
gw.setSettings(gws);
gw.importExcelFile(@"c:\test.xlsx");
GridJsWorkbook gw = new GridJsWorkbook();
GridWorkbookSettings gws = new GridWorkbookSettings();
// Set author information
gws.setAuthor("peter");
gw.setSettings(gws);
gw.importExcelFile(@"c:\test.xlsx");
setReCalculateOnOpen: Controls whether formulas are recalculated when opening files,default is true.setForceFullCalculate: Enables forced full calculation cyclessetCreateCalcChain: Controls whether create calculated formulas chain,default is false.setIteration: Controls whether use iteration to resolve circular references,default is true.setMaxIteration: Set the maximum number of iterations to resolve a circular reference, the default value is 100.setAuthor: Specifies the file authorsetCheckCustomNumberFormat: Validates custom number format when setting Style.CustomsetCheckExcelRestriction: Controls Whether check restriction of excel file when user modify cells related objectsGridJsWorkbook gw = new GridJsWorkbook();
GridWorkbookSettings gws = new GridWorkbookSettings();
// Configure multiple settings simultaneously
gws.setReCalculateOnOpen(false);
gws.setAuthor("peter");
gws.setCheckCustomNumberFormat(true);
gws.setCheckExcelRestriction(true);
gw.setSettings(gws);
gw.importExcelFile(@"c:\test.xlsx");
For comprehensive implementation examples and detailed usage scenarios, refer to the official demo repository:
https://github.com/aspose-cells/Aspose.Cells.Grid-for-Java/tree/main/Examples.GridJs
Analyzing your prompt, please hold on...
An error occurred while retrieving the results. Please refresh the page and try again.