---
title: "GridJsOptions.AutoFitColumnsOnLoad"
url: "https://reference.aspose.com/cells/net/aspose.cells.gridjs/gridjsoptions/autofitcolumnsonload/"
product: "Aspose.Cells for .NET API Reference"
description: "GridJsOptions property. Indicates whether to autofit columns width when loading the filethe default value is false"
---

## GridJsOptions.AutoFitColumnsOnLoad property

Indicates whether to autofit columns width when loading the file,the default value is false.

```csharp
public bool AutoFitColumnsOnLoad { get; set; }
```

### See Also

* class [GridJsOptions](../)
* namespace [Aspose.Cells.GridJs](../../../aspose.cells.gridjs/)
* assembly [Aspose.Cells.GridJs](../../../)


