• Support for Multiple Data Sources

    Bind with dataset/data table/custom object/variable or array/list.

  • Simple Language Syntax and Notations in Excel Templates

    Create Excel templates, define data fields, inline fields, formulas, and display nested data and expression fields.

  • Expand Data Horizontally or Vertically

    Expand data horizontally or vertically depending on the report layout, using simple property.

  • Define Context or Range for Data Expansion

    Expand data in pairs and calculate formulas over a cell context or a range.

  • Group, Sort, and Merge your Data

    Group or set outline groups over your data with repeat, merge, or list properties and sort data in ascending or descending order.

  • Set Styles

    Set cell and merge style to preserve data upon cell expansion.

Expand Templates with Sparklines

Define the data binding of Sparklines with template cells.

Expand Templates with Excel Tables

Expand Templates by defining Templates in Tables cells.

Generate Excel Reports with Fixed Layout

Use FillMode and FillRange to control layout of the report.

Create Multiple Reports in a Single Sheet

Create templates that include data from one or multiple data sources to generate reports with multiple tables.

Add Page Breaks

Similar to page breaks in Microsoft Excel, you can add vertical, horizontal, or both.

Generate Multiple Worksheets

Define template field in worksheet's name and generate multiple worksheets at runtime, each having a fixed template.

Mail-Merge Reports

Add inline fields to generate full mail-merge reports with Excel templates.

Excel Chart Templates

Bind Excel charts with data by defining the chart template for the series data. The charts will bind to data upon processing of the template.

Bind Excel Templates with Images

Bind your Excel templates with Image fields in the database.

Support for Conditional Formatting

Set conditional formatting rules for the template cells and expand your data. All types of conditional formatting rules are supported.

Export Excel Formula

Export the formula you applied to your template to see how it applies to the expanded data. Re-use the formula in an existing file or another Excel file.

Support for Global Setting

Specify default settings on the Excel Template so that it applies to entire data when the template expands. Keep height/width of rows/columns similar throughout the template. Or insert extra spaces as rows/columns or cells in your final report.

Explore the Advanced Features PDF API

Each main feature demo link listed below contains several demos that show how to use a particular feature. Click a link to learn more.

Feature

Description

Explore complete code demonstrating how to generate an Excel file, or you may have your own Excel files and just want to open and update some of its contents at server side.

In this tutorial, we create a real-life scenario with GrapeCity Documents for Excel to give you a fundamental understanding of what it can do.

Execute operations on cells, rows or columns in Excel documents with the help of Range property of the IWorksheet interface.

GcExcel provides many properties to customise the appearance of a range.

Manage Tables independently in Excel worksheets, format rows & columns, perform calculations for a specific table range.

Create conditional formatting rules for individual cells or a range of cells based on cell values.

Validate data by restricting the information format and the values that can be entered in cells of a worksheet. Create distinct validation scenarios for individual cells or for a range of cells.

Create and use 450+ built-in functions formulas that let you calculate the value of a cell quickly and accurately. You can also use built-in functions and operators to generate formulas and calculate values in cells.

Summarise large amounts of information in groups so that complex spreadsheets are easier to navigate. You can expand and collapse details with the click of a button in the group header row.

Apply rich text formatting in the cells of the worksheet.

Create your own custom functions, allowing you to easily create any custom arithmetic logic you may need.

GcExcel supports one-way data binding with cell, sheet and Table binding in Excel spreadsheets.

Find and replace text in Excel workbook with different options.

Explore complete code demonstrating how to export sheet/range/shape/chart to image files at server side.

Specify page setup attributes (left margin, bottom margin, paper size, and so on) on Excel workbook.

Export Excel .xlsx spreadsheets to PDF at server side with various PDF options.

GcExcel supports all types of filters which you can apply on selected range of data.

GcExcel provides the Sort method to perform data sorting based on a range of cells, range by value, color or icon in a worksheet. The Apply method is used to apply the selected sort state and display the results.

GcExcel provides a comprehensive charting API to add charts in Excel.

Embed drawing objects like shapes and pictures in the cells of a worksheet. You can insert arrows, lines, charts, slicers, pictures, and general shapes.

Add a picture to a worksheet, use the AddPicture method of the worksheet's Shapes collection to create, delete, cut, copy and duplicate pictures in the worksheet.

Slicers are visual filters that you can use to filter a table or pivot table. GcExcel supports adding both built-in and custom slicer styles in Excel workbook.

GcExcel enables users to annotate worksheets, write comments for cells to add information about the data it contains.

Add pivot table to Excel workbook for data summarization, automatically count, total, or average the data stored in a spreadsheet, and display the resulting summarized data in a second table.

Apply hyperlinks to a range using the IWorksheet.Hyperlinks.Add or IRange.Hyperlinks.Add method. Apply hyperlinks to a shape using the IWorksheet.Hyperlinks.Add method.

GcExcel provides you with a set of built-in themes so you can quickly change the overall appearance of a workbook. It also lets you create custom themes and apply them to workbooks.

GcExcel provides all the necessary properties and methods required to create a workbook, perform complex operations on the data residing in the spreadsheets and make use of several workbook events that are triggered when called explicitly by the user through code.

In GcExcel, you can use the methods of IWorksheets to execute different tasks in a spreadsheet including insertion of a new worksheet in the workbook, deletion of a worksheet from the collection, assigning an active sheet, and so much more.

GcExcel introduces new templates support with comprehensive syntax and API to bind Excel documents to data and generate Excel reports with advanced layouts. With flexible syntax and easy notations for data expansion and formulas, the new template syntax and API will make it easy to define Excel templates and generate Excel reports supporting numerous use cases.

Examples in this folder demonstrate how to use GrapeCity Documents for Excel and SpreadJS. GrapeCity Documents for Excel works on the server side to import and export Excel template files. Spread.Sheets works in the browser (client side) as a viewer or editor.

What's New

What's New in Excel Templates

  • Generate PDF Forms from Excel Templates - Generate fillable PDF forms from Excel templates.
  • Specify PDF Form Fields and Design a Form in Excel - Easily design a complex PDF form without third-party tools by setting form fields and designate the labels in different cells.
  • Add PDF Form Fields of Various Types and Set Form Settings in JSON Format - Now supports adding all PDF form fields in Excel templates.
  • What's New Roadmap