Impostazioni per GridJs

Contents
[ ]

Ci sono alcune impostazioni che possiamo specificare set GridWorkbookSettings :

Ad esempio, il codice seguente imposta ReCalculateOnOpen su false per arrestare il caculate all’apertura del file:

   GridJsWorkbook gw = new GridJsWorkbook();
   GridWorkbookSettings gws = new GridWorkbookSettings();
   //do not re-calculate all formulas on opening the file.
    gws.ReCalculateOnOpen = false;
    gw.Settings = gws;
    gw.ImportExcelFile(@"c:\test.xlsx");

il codice seguente imposta l’autore del file:

   GridJsWorkbook gw = new GridJsWorkbook();
   GridWorkbookSettings gws = new GridWorkbookSettings();
   //set author.
    gws.Author = "peter";
    gw.Settings = gws;
    gw.ImportExcelFile(@"c:\test.xlsx");

Puoi controllare più impostazioni in questa classe.