# Angular Spreadsheet Data Binding

The Spreadsheet allows you to store and load data in a native `JSON` format and then display it in a tabular form. Use this approach when the sheets configuration is already stored in the application and needs to be accessible at any time, without depending on HTTP calls.

To load data in the Spreadsheet, set the [`sheets`](https://www.telerik.com/kendo-angular-ui-develop/components/spreadsheet/api/spreadsheetcomponent#sheets) property to a [`SheetDescriptor`](https://www.telerik.com/kendo-angular-ui-develop/components/spreadsheet/api/sheetdescriptor) collection. The `SheetDescriptor` provides properties that allows you to customize the cells' content and appearance.

```html
<kendo-spreadsheet [sheets]="sheets"></kendo-spreadsheet>
```

```ts
public sheets: SheetDescriptor[] = [
    {
        name: 'Sheet1',
        rows: [
            {
                height: 25,
                cells: [
                    { value: 'ID' },
                    { value: 'Product' },
                    { value: 'UnitPrice' },
                ],
            },
            {
                cells: [
                    { value: 1},
                    { value: 'Chai'},
                    { value: 10 },
                ],
            }
        ]
    },
];
```

The following example demonstrates how to bind the Spreadsheet component to initial data.

[Demo Source](https://demos.telerik.com/kendo-angular-ui/demos/spreadsheet/binding/source.txt)

## Setting Predefined Rows and Columns

To manage the number of the visible rows and columns in the sheet, set the [`rows`](https://www.telerik.com/kendo-angular-ui-develop/components/spreadsheet/api/spreadsheetcomponent#rows) and [`columns`](https://www.telerik.com/kendo-angular-ui-develop/components/spreadsheet/api/spreadsheetcomponent#columns) properties of the component.

```html
<kendo-spreadsheet [rows]="5" [columns]="3"></kendo-spreadsheet>
```

The following example demonstrates a blank sheet with predefined columns and rows.

[Demo Source](https://demos.telerik.com/kendo-angular-ui/demos/spreadsheet/binding/predefined/source.txt)

## Suggested Links

* [API Reference of the Spreadsheet](https://www.telerik.com/kendo-angular-ui-develop/components/spreadsheet/api)
* [API Reference of the `SpreadsheetComponent`](https://www.telerik.com/kendo-angular-ui-develop/components/spreadsheet/api/spreadsheetcomponent)
* [API Reference of the `SheetDescriptor`](https://www.telerik.com/kendo-angular-ui-develop/components/spreadsheet/api/sheetdescriptor)
* [Spreadsheet Toolbar Tools](https://www.telerik.com/kendo-angular-ui-develop/components/spreadsheet/tools)
