{
  "$schema": "https://ai.syncfusion.com/schema/registry-item.json",
  "name": "spreadsheet-editor-formula",
  "framework": "blazor",
  "type": "registry:component",
  "component": "Spreadsheet",
  "variant": "formula",
  "dependencies": [
    "Syncfusion.Blazor.Spreadsheet"
  ],
  "description": "Spreadsheet editor loaded with a formula workbook from a byte payload.",
  "meta": {
    "essentialStudioRelease": "2026 Volume 3 (v35.1.37)",
    "license": "commercial-or-community",
    "licenseNote": "The Syncfusion package is licensed. The composition in this file is source you own and edit. See https://ai.syncfusion.com/licensing.md",
    "requiresLicenseKey": true,
    "requiresServerEndpoint": false,
    "platformIndex": "https://ai.syncfusion.com/blazor/llms.txt",
    "skillPack": "syncfusion/blazor-ui-components-skills",
    "docs": "https://ai.syncfusion.com/gallery/blazor/spreadsheet-editor-formula.md"
  },
  "files": [
    {
      "target": "src/components/spreadsheet-editor-formula/SpreadSheetEditor.razor",
      "content": "@page \"/spreadsheet/formula\"\n@namespace blazor.Components.Pages.Formula.Formula\n@using Syncfusion.Blazor.Spreadsheet\n@using System;\n@using System.IO;\n@inject IWebHostEnvironment Environment\n<div class=\"col-lg-12 control-section\">\n    <div class=\"content-wrapper\">\n        <div class=\"row\">\n            <div>\n                <SfSpreadsheet DataSource=\"DataSourceBytes\">\n                </SfSpreadsheet>\n            </div>\n        </div>\n    </div>\n</div>\n@code {\n   public byte[] DataSourceBytes { get; set; } = Array.Empty<byte>();\n    protected override void OnInitialized()\n    {\n        //Sets the excel file path for initial loading.\n        string filePath = Path.Combine(AppDomain.CurrentDomain.BaseDirectory, \"src\", \"blazor\", \"spreadsheet-editor\", \"formula\", \"formula.xlsx\");\n        DataSourceBytes = File.ReadAllBytes(filePath);\n    }\n}"
    }
  ]
}