The JavaScript Spreadsheet, also known as the JavaScript Excel viewer, is a feature-rich control for organizing and analyzing data in tabular format. It provides all the common Excel features, including data binding, selection, editing, formatting, resizing, sorting, importing, and exporting Excel documents.
The JavaScript Spreadsheet is designed and optimized for loading large amounts of data into a worksheet and view it on demand with the help of row and column virtualization.
Bind data seamlessly with various local and remote data sources such as JSON, OData, WCF, and RESTful web services with the help of a data manager.
Easily collaborate on workbooks. Multiple users can work on a spreadsheet at the same time and view the changes made by others instantly.
JavaScript Spreadsheet allows users to format cells, numbers, and also allows conditional formatting to format a cell or range of cells based on the conditions applied.
The Chart feature transforms the Spreadsheet data into an intuitive overview for better understanding and to make smart business decisions.
The JavaScript Spreadsheet library provides a wide range of formulas with cross-sheet references support and a rich UI that comes with an in-built calculation engine that performs formula calculations.
Cutting edge design with 5+ built-in themes such as Fluent, Tailwind CSS, Bootstrap, Material, Fabric, and more. Utilize the online Theme Studio tool to customize themes of Spreadsheet easily.
Enables users from different locales to use the Spreadsheet by formatting dates, currency, and numbering to suit their preferences.
Easily get started with the JavaScript Spreadsheet using a few simple lines of HTML and JS code example as demonstrated below. Also explore our JavaScript Spreadsheet Example that shows you how to render and configure a Spreadsheet JavaScript.
<div class="control-section">
<div id="spreadsheet"></div>
</div>
import { Spreadsheet } from '@syncfusion/ej2-spreadsheet';
import { defaultData } from './datasource.ts';
//Initialize Spreadsheet component
var columns = [
{width: 130},
{width: 92},
{width: 96}
];
var spreadsheet = new Spreadsheet({
sheets: [{ name: 'Price Details', ranges: [{ dataSource: defaultData }], columns: columns }]
}]
});
//Render initialized Spreadsheet component
spreadsheet.appendTo('#spreadsheet');
A worksheet is a collection of cells arranged in rows and columns that lets you save, format, and work with data. You can create, delete, and rename worksheets, as well as customize the headers, gridlines, and sheet visibility in our JavaScript Spreadsheet.
A cell range refers to a set of cells in a sheet. Spreadsheet supports several features for working with cell ranges.
You can display a large amount of content in multiple lines within a single cell by using text wrap.
Combine two or more cells from the same row or column into a single cell by merging them.
Restrict the entry of wrong data by users with data validation. You can also highlight the incorrect data.
The autofill option allows users to fill or copy a series or pattern of values and formats into adjacent cells in any direction.
Data editing allows you to add, edit, and remove formulas or values in a cell. Edit the contents of a cell directly in the cell or by typing the formula bar.
The JavaScript Spreadsheet widget provides interactive support to highlight the cells, rows, columns, and sheets selected. Selection can be done through mouse, touch, or keyboard interaction.
Number formatting is used to change the appearance of numbers in JavaScript Spreadsheet. It helps display data as currency, percentages, short dates, long dates, time, fractions, and scientific numbers, similar to Excel.
Using cell formatting, users can highlight a particular cell or range of cells from a whole workbook. The component supports various formatting options: font size, font family, font color, fill color, indent, and horizontal and vertical alignments of text.
Conditional formatting can format a cell or range of cells based on the conditions that are applied. This enables you to highlight data based on the appropriate condition.
There is built-in support for hyperlinks and bookmarks. Navigate to web links or cell references within the sheet or other sheets in the workbook.
The image feature allows users to view, insert, and modify a picture in a JavaScript Spreadsheet with customizing options.
The chart feature transforms the Spreadsheet data into an intuitive overview for better understanding.
The JavaScript Spreadsheet provides an interactive ribbon that organizes the spreadsheet’s features into a series of tabs. Collapse the ribbon to make more rows visible in the viewport.
You can use Find and Replace option to search for content easily within a worksheet or workbook and then change out the original text for an alternative.
The freeze panes allows users to keep specified rows and columns always visible at the top or left side of the sheet while scrolling through it.
The JavaScript Spreadsheet user interface has been customized and redesigned for great views and usability on small screens.
Use the clipboard operations, cut, copy, and paste, just like Microsoft Excel. You can paste the values or formulas with or without formatting in a newly selected range.
The context menu improves user interaction with the JavaScript Spreadsheet using a pop-up menu. It appears when a cell, row header, column header, or sheet tab is right clicked.
The Spreadsheet component provides an option to undo and redo changes made in a workbook. You can customize the limit of undo and redo operations.
The JavaScript Spreadsheet component provides a smooth scrolling experience even with many cells in a view.
Load Excel documents initially or open them like an Excel application with data accuracy, styles, and formats. Microsoft Excel (.xlsx), Microsoft Excel 97-2003 (.xls), and comma-delimited values (.csv) file formats can be opened in a JavaScript Spreadsheet.
Easily save the JavaScript Spreadsheet component with data accuracy, styles, and formats as an Excel file. The JavaScript Material Spreadsheet supports file formats such as Microsoft Excel (.xlsx), Microsoft Excel 97-2003 (.xls), and comma-delimited values (.csv).
The JavaScript Excel Spreadsheet ensures that every cell is accessible using a keyboard. Major features like selection, clipboard, and editing can be performed using keyboard commands alone, no mouse interaction is required. This helps in creating highly accessible applications using this component.
The JavaScript Excel Grid view has complete WAI-ARIA accessibility support. Its rich UI includes high-contrast visual elements, helping visually impaired people have the best viewing experience. Also, valid UI descriptions are easily accessible through assistive technologies such as screen readers.
Right-to-left rendering allows you to display the text and layout of the Spreadsheet from right to left. This improves the user experience and accessibility for RTL languages.
It recognizes touch gestures, allowing the user to swipe left or right to move the sheet. The responsive, mobile friendly design provides the best user experience on all mobiles, tablets, and desktop form factors.
Developers can customize their UI and control its behaviors according to the end user’s requirement using the control’s rich set of client-side APIs.
With the JavaScript Spreadsheet control, you can print a single or multiple sheets of spreadsheet data easily.
The Spreadsheet component is also available in Blazor, Angular, React, and Vue frameworks. Check out the different Spreadsheet platforms from the links below,
The JavaScript Spreadsheet control works well with all modern web browsers: Chrome, Firefox, Edge, Safari, and IE11. It supports IE11 with the help of polyfills.
You can find our JavaScript Spreadsheet demo, which demonstrates how to render and configure the Spreadsheet.
No, this is a commercial product and requires a paid license. However, a free community license is also available for companies and individuals whose organizations have less than $1 million USD in annual gross revenue, 5 or fewer developers, and 10 or fewer total employees.
A good place to start would be our comprehensive getting started documentation.
Greatness—it’s one thing to say you have it, but it means more when others recognize it. Syncfusion is proud to hold the following industry awards.