{
  "$schema": "https://ai.syncfusion.com/schema/registry-item.json",
  "name": "spreadsheet-editor-default",
  "framework": "aspnet-mvc",
  "type": "registry:component",
  "component": "Spreadsheet",
  "variant": "default",
  "dependencies": [
    "Syncfusion.AspNetMvc.Spreadsheet"
  ],
  "description": "Spreadsheet editor with formula, number formatting, row/column configuration, and styled header/footer rows.",
  "meta": {
    "essentialStudioRelease": "2026 Volume 2 (v34.1.29)",
    "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/aspnetmvc/llms.txt",
    "skillPack": "syncfusion/aspnetmvc-ui-components-skills",
    "docs": "https://ai.syncfusion.com/gallery/aspnet-mvc/spreadsheet-editor-default.md"
  },
  "files": [
    {
      "target": "src/components/spreadsheet-editor-default/DefaultFunctionalities.cshtml",
      "content": "@using Syncfusion.EJ2\n@using Syncfusion.EJ2.Spreadsheet\n\n@section ControlsSection{\n    <div class=\"control-section\">\n        @Html.EJS().Spreadsheet(\"spreadsheet\").OpenUrl(\"Open\").SaveUrl(\"Save\").Created(\"createdHandler\").Sheets(sheet =>\n   {\n       sheet.Name(\"Car Sales Report\").Ranges(ranges =>\n       {\n           ranges.DataSource((IEnumerable<object>)ViewData[\"DefaultData\"]).Add();\n       }).Rows(row => {\n           row.Cells(cell =>\n           {\n               cell.Value(\"Customer Name\").Add();\n               cell.Index(3).Value(\"Payment Mode\").Add();\n               cell.Value(\"Delivery Date\").Add();\n           }).Add();\n           row.Index(30).Cells(cell =>\n           {\n               cell.Index(4).Value(\"Total Amount:\").Style(new SpreadsheetCellStyle() { FontWeight = FontWeight.Bold, TextAlign = TextAlign.Right }).Add();\n               cell.Formula(\"=SUM(F2:F30)\").Style(new SpreadsheetCellStyle() { FontWeight = FontWeight.Bold }).Add();\n           }).Add();\n       }).Columns(column =>\n       {\n           column.Width(180).Add();\n           column.Width(130).Add();\n           column.Width(130).Add();\n           column.Width(180).Add();\n           column.Width(130).Add();\n           column.Width(120).Add();\n       }).Add();\n   }).Render()\n    </div>\n}\n\n@section Meta{\n    <meta name=\"description\" content=\"Explore the ASP.NET MVC Spreadsheet Default Features demo. Perform Excel-like editing, formulas, formatting, data binding, and import/export using Syncfusion's spreadsheet editor.\" />\n\n    <!-- SoftwareApplication Schema -->\n    <script type=\"application/ld+json\">\n    {\n      \"@@context\": \"https://schema.org\",\n      \"@@type\": \"SoftwareApplication\",\n      \"name\": \"ASP.NET MVC Spreadsheet Default Features\",\n      \"applicationCategory\": \"WebApplication\",\n      \"operatingSystem\": \"Any\",\n      \"description\": \"Demo showcasing default Excel-like functionalities in Syncfusion's ASP.NET MVC Spreadsheet, including editing, formulas, formatting, and file import/export.\",\n      \"url\": \"https://document.syncfusion.com/demos/spreadsheet-editor/asp-net-mvc/spreadsheet/defaultfunctionalities\",\n      \"publisher\": {\n        \"@@type\": \"Organization\",\n        \"name\": \"Syncfusion\",\n        \"url\": \"https://www.syncfusion.com\"\n      }\n    }\n    </script>\n\n    <!-- WebPage Schema -->\n    <script type=\"application/ld+json\">\n    {\n      \"@@context\": \"https://schema.org\",\n      \"@@type\": \"WebPage\",\n      \"name\": \"ASP.NET MVC Spreadsheet Default Features - Online Demo\",\n      \"url\": \"https://document.syncfusion.com/demos/spreadsheet-editor/asp-net-mvc/spreadsheet/defaultfunctionalities\",\n      \"description\": \"Online demo illustrating default spreadsheet features such as editing, formulas, formatting, and data manipulation in ASP.NET MVC.\",\n      \"isPartOf\": {\n        \"@@type\": \"WebSite\",\n        \"name\": \"Syncfusion Document Solutions\",\n        \"url\": \"https://document.syncfusion.com/\"\n      }\n    }\n    </script>\n\n    \n<!-- Breadcrumb Schema -->\n    <script type=\"application/ld+json\">\n    {\n      \"@@context\": \"https://schema.org\",\n      \"@@type\": \"BreadcrumbList\",\n      \"itemListElement\": [\n        {\n          \"@@type\": \"ListItem\",\n          \"position\": 1,\n          \"name\": \"Home\",\n          \"item\": \"https://document.syncfusion.com/\"\n        },\n        {\n          \"@@type\": \"ListItem\",\n          \"position\": 2,\n          \"name\": \"Spreadsheet Editor\",\n          \"item\": \"https://document.syncfusion.com/spreadsheet-editor/\"\n        },\n        {\n          \"@@type\": \"ListItem\",\n          \"position\": 3,\n          \"name\": \"ASP.NET MVC\",\n          \"item\": \"https://document.syncfusion.com/demos/spreadsheet-editor/asp-net-mvc/\"\n        },\n        {\n          \"@@type\": \"ListItem\",\n          \"position\": 4,\n          \"name\": \"Spreadsheet\",\n          \"item\": \"https://document.syncfusion.com/demos/spreadsheet-editor/asp-net-mvc/spreadsheet/\"\n        },\n        {\n          \"@@type\": \"ListItem\",\n          \"position\": 5,\n          \"name\": \"Default Functionalities\"\n        }\n      ]\n    }\n    </script>\n}\n     \n\n<script>\n    // Triggers once the control is loaded\n    function createdHandler() {\n        // Applies cell and number formatting to specified range of the active sheet\n        this.cellFormat({ fontWeight: 'bold', textAlign: 'center', verticalAlign: 'middle' }, 'A1:F1');\n        // Apply format to the specified range in the active sheet.\n        this.numberFormat('$#,##0.00', 'F2:F31');\n        this.numberFormat('m/d/yyyy', 'E2:E30');\n    }\n</script>\n\n@*custom code start*@\n<style>\n    .control-section {\n        height: 550px;\n    }\n    #sb-content .e-spreadsheet .e-tab .e-tab-text {\n        display: inherit;\n    }\n</style>"
    },
    {
      "target": "src/components/spreadsheet-editor-default/DefaultFunctionalitiesController.cs",
      "content": "using System;\nusing System.Collections.Generic;\nusing System.Linq;\nusing System.Web;\nusing System.Web.Mvc;\nusing Syncfusion.EJ2.Spreadsheet;\n\nnamespace EJ2MVCSampleBrowser.Controllers.Spreadsheet\n{\n    public partial class SpreadsheetController : Controller\n    {\n        public ActionResult DefaultFunctionalities()\n        {\n           List<object> data = new List<object>()\n            {\n                new { CustomerName= \"Romona Heaslip\",  Model= \"Taurus\",  Color= \"Aquamarine\",  PaymentMode= \"Debit Card\",  DeliveryDate= \"07-11-2015\",  Amount= \"8529.22\" },\n                new { CustomerName= \"Clare Batterton\",  Model= \"Sparrow\",  Color= \"Pink\",  PaymentMode= \"Cash On Delivery\",  DeliveryDate= \"07-13-2016\",  Amount= \"17866.19\" },\n                new { CustomerName= \"Eamon Traise\",  Model= \"Grand Cherokee\",  Color= \"Blue\",  PaymentMode= \"Net Banking\",  DeliveryDate= \"09-04-2015\",  Amount= \"13853.09\" },\n                new { CustomerName= \"Julius Gorner\",  Model= \"GTO\",  Color= \"Aquamarine\",  PaymentMode= \"Credit Card\",  DeliveryDate= \"12-15-2017\",  Amount= \"2338.74\" },\n                new { CustomerName= \"Jenna Schoolfield\",  Model= \"LX\",  Color= \"Yellow\",  PaymentMode= \"Credit Card\",  DeliveryDate= \"10-08-2014\",  Amount= \"9578.45\" },\n                new { CustomerName= \"Marylynne Harring\",  Model= \"Catera\",  Color= \"Green\",  PaymentMode= \"Cash On Delivery\",  DeliveryDate= \"07-01-2017\",  Amount= \"19141.62\" },\n                new { CustomerName= \"Vilhelmina Leipelt\",  Model= \"7 Series\",  Color= \"Goldenrod\",  PaymentMode= \"Credit Card\",  DeliveryDate= \"12-20-2015\",  Amount= \"6543.30\" },\n                new { CustomerName= \"Barby Heisler\",  Model= \"Corvette\",  Color= \"Red\",  PaymentMode= \"Credit Card\",  DeliveryDate= \"11-24-2014\",  Amount= \"13035.06\" },\n                new { CustomerName= \"Karyn Boik\",  Model= \"Regal\",  Color= \"Indigo\",  PaymentMode= \"Debit Card\",  DeliveryDate= \"05-12-2014\",  Amount= \"18488.80\" },\n                new { CustomerName= \"Jeanette Pamplin\",  Model= \"S4\",  Color= \"Fuscia\",  PaymentMode= \"Net Banking\",  DeliveryDate= \"12-30-2014\",  Amount= \"12317.04\" },\n                new { CustomerName= \"Cristi Espinos\",  Model= \"TL\",  Color= \"Aquamarine\",  PaymentMode= \"Credit Card\",  DeliveryDate= \"12-18-2013\",  Amount= \"6230.13\" },\n                new { CustomerName= \"Issy Humm\",  Model= \"Club Wagon\",  Color= \"Pink\",  PaymentMode= \"Cash On Delivery\",  DeliveryDate= \"02-02-2015\",  Amount= \"9709.49\" },\n                new { CustomerName= \"Tuesday Fautly\",  Model= \"V8 Vantage\",  Color= \"Crimson\",  PaymentMode= \"Debit Card\",  DeliveryDate= \"11-19-2014\",  Amount= \"9766.10\" },\n                new { CustomerName= \"Rosemaria Thomann\",  Model= \"Caravan\",  Color= \"Violet\",  PaymentMode= \"Net Banking\",  DeliveryDate= \"02-08-2014\",  Amount= \"7685.49\" },\n                new { CustomerName= \"Lyell Fuentez\",  Model= \"Bravada\",  Color= \"Violet\",  PaymentMode= \"Debit Card\",  DeliveryDate= \"08-05-2016\",  Amount= \"18012.45\" },\n                new { CustomerName= \"Raynell Layne\",  Model= \"Colorado\",  Color= \"Pink\",  PaymentMode= \"Credit Card\",  DeliveryDate= \"05-30-2016\",  Amount= \"2785.49\" },\n                new { CustomerName= \"Raye Whines\",  Model= \"4Runner\",  Color= \"Red\",  PaymentMode= \"Debit Card\",  DeliveryDate= \"12-10-2016\",  Amount= \"9967.74\" },\n                new { CustomerName= \"Virgina Aharoni\",  Model= \"TSX\",  Color= \"Pink\",  PaymentMode= \"Cash On Delivery\",  DeliveryDate= \"10-23-2014\",  Amount= \"5584.33\" },\n                new { CustomerName= \"Peta Cheshir\",  Model= \"Pathfinder\",  Color= \"Red\",  PaymentMode= \"Net Banking\",  DeliveryDate= \"12-24-2015\",  Amount= \"5286.53\" },\n                new { CustomerName= \"Jule Urion\",  Model= \"Charger\",  Color= \"Violet\",  PaymentMode= \"Debit Card\",  DeliveryDate= \"11-20-2013\",  Amount= \"13511.91\" },\n                new { CustomerName= \"Lew Gilyatt\",  Model= \"Bonneville\",  Color= \"Crimson\",  PaymentMode= \"Credit Card\",  DeliveryDate= \"11-19-2013\",  Amount= \"6498.19\" },\n                new { CustomerName= \"Jobey Fortun\",  Model= \"B-Series\",  Color= \"Blue\",  PaymentMode= \"Net Banking\",  DeliveryDate= \"10-30-2014\",  Amount= \"10359.67\" },\n                new { CustomerName= \"Blondie Crump\",  Model= \"Voyager\",  Color= \"Turquoise\",  PaymentMode= \"Credit Card\",  DeliveryDate= \"04-06-2018\",  Amount= \"8118.39\" },\n                new { CustomerName= \"Florentia Binns\",  Model= \"Grand Prix\",  Color= \"Orange\",  PaymentMode= \"Cash On Delivery\",  DeliveryDate= \"10-13-2016\",  Amount= \"10204.37\" },\n                new { CustomerName= \"Jaquelin Galtone\",  Model= \"Sunbird\",  Color= \"Red\",  PaymentMode= \"Net Banking\",  DeliveryDate= \"10-22-2013\",  Amount= \"6528.06\" },\n                new { CustomerName= \"Hakeem Easseby\",  Model= \"Mirage\",  Color= \"Crimson\",  PaymentMode= \"Debit Card\",  DeliveryDate= \"09-12-2014\",  Amount= \"5619.25\" },\n                new { CustomerName= \"Nickolaus Gidman\",  Model= \"XK\",  Color= \"Orange\",  PaymentMode= \"Debit Card\",  DeliveryDate= \"05-12-2016\",  Amount= \"5091.43\" },\n                new { CustomerName= \"Jenine Iglesia\",  Model= \"Accord\",  Color= \"Orange\",  PaymentMode= \"Debit Card\",  DeliveryDate= \"09-03-2018\",  Amount= \"14566.08\" },\n                new { CustomerName= \"Fax Witherspoon\",  Model= \"Range Rover Sport\",  Color= \"Orange\",  PaymentMode= \"Credit Card\",  DeliveryDate= \"02-22-2018\",  Amount= \"5284.87\" }\n            };\n            ViewData[\"DefaultData\"] = data;\n            return View();\n        }\n\n        public ActionResult Open(OpenRequest openRequest)\n        {\n            return Content(Workbook.Open(openRequest));\n        }\n\n        public void Save(SaveSettings saveSettings)\n        {\n            if (saveSettings != null && saveSettings.JSONData != null)\n            {\n                Workbook.Save(saveSettings);\n            }\n        }\n    }\n}"
    }
  ]
}