Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixes #419 : Updates readme. #434

Merged
merged 1 commit into from
Nov 20, 2017
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ them as they come.
<li><a href="#set-workbook-properties">Set Workbook Properties</a></li>
<li><a href="#workbook-views">Workbook Views</a></li>
<li><a href="#add-a-worksheet">Add a Worksheet</a></li>
<li><a href="#remove-a-worksheet">Remove a Worksheet</a></li>
<li><a href="#access-worksheets">Access Worksheets</a></li>
<li><a href="#worksheet-properties">Worksheet Properties</a></li>
<li><a href="#page-setup">Page Setup</a></li>
Expand Down Expand Up @@ -197,6 +198,20 @@ var sheet = workbook.addWorksheet('My Sheet', {properties: {showGridLines: false
var sheet = workbook.addWorksheet('My Sheet', {views:[{xSplit: 1, ySplit:1}]});
```

## Remove a Worksheet

Use the worksheet `id` to remove the sheet from workbook.

For Example:

```javascript
// Create a worksheet
var sheet = workbook.addWorksheet('My Sheet');

// Remove the worksheet using worksheet id
workbook.removeWorksheet(sheet.id)
```

## Access Worksheets
```javascript
// Iterate over all sheets
Expand Down