{
  "$schema": "https://ai.syncfusion.com/schema/registry-item.json",
  "name": "spreadsheet-editor-protection",
  "framework": "blazor",
  "type": "registry:component",
  "component": "Spreadsheet",
  "variant": "protection",
  "dependencies": [
    "Syncfusion.Blazor.Spreadsheet"
  ],
  "description": "Spreadsheet editor with protected sheets and locked cell editing to safeguard worksheet data.",
  "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-protection.md"
  },
  "files": [
    {
      "target": "src/components/spreadsheet-editor-protection/SpreadSheetEditor.razor",
      "content": "@page \"/spreadsheet/protection\"\n@namespace blazor.Components.Pages.Protection.Protection\n@using Syncfusion.Blazor.Spreadsheet\n@using System.IO\n\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\n@code {\n    // The workbook contains a repayment schedule. Sheet protection is\n    // enabled in the xlsx file itself (each sheet is marked protected),\n    // so users need to unprotect through the Review ribbon to edit.\n    public byte[] DataSourceBytes { get; set; } = Array.Empty<byte>();\n\n    protected override void OnInitialized()\n    {\n        string filePath = Path.Combine(AppDomain.CurrentDomain.BaseDirectory, \"src\", \"blazor\", \"spreadsheet-editor\", \"protection\", \"repayment.xlsx\");\n        DataSourceBytes = File.ReadAllBytes(filePath);\n    }\n}"
    },
    {
      "target": "src/components/spreadsheet-editor-protection/repayment.xlsx",
      "content": "PK\u0003\u0004\u0014\u0000\u0000\u0000\b\u0000phZ]�]U��\u0000\u0000\u00003\u0002\u0000\u0000\u0013\u0000\u0000\u0000[Content_Types].xml�Q�N�0\u0010�y\n�k\u0015;e@\b5�P`\u0004��\u0000�}I��O>��o��B\u0007T\u0010\u0003������ڌβ\u0003&2�7|)j�Ы���\u001a��{�n9�\f^�\r\u001e\u001b~D���jw�H��=5��9�II�G\u0007$BD_�6$\u0007����\u0011�\u0000\u001d�뺾�*��>Wy����\u001e[���\u001e�r?5Ih���9�5\u001cb�FA.�<x�-���\u0010E9s�7�\u0016����\t�9�K�\\\u001e'\u0019��\u0005R~\u0002Whr��=��-�A��r�gh[�P\u0007�wE\"(&\u0004M=bvV�S80~�\u00023��<�����.\"�?_\u0000PK\u0003\u0004\u0014\u0000\u0000\u0000\b\u0000phZ]~o���\u0000\u0000\u0000*\u0001\u0000\u0000\u000b\u0000\u0000\u0000_rels/.rels��;\u000e�0\f\u0006��SD�iZ\u0006�PC\u0017��\u0015�\u0003��}�I\u001c%\u0001�ۓ\u0011*\u0006F��?�e5\u001b͞��HV@����*jG�\u000b�5��\u0001X�ҶR�E\u0001\u000b\u0006�N��ZƔ\t��\u0002K�\r\u0002�\u0018ݑ�\u000642d�ЦNG�ȘJ�s'�${�<�s�i�\neu+��m\u0001�Y\u001c��S׍\nϤ\u001e\u0006m��c5�d�{�\u0002f�_�;є%\u0014x:��xz\u0003PK\u0003\u0004\u0014\u0000\u0000\u0000\b\u0000phZ]�P���\u0000\u0000\u0000*\u0001\u0000\u0000\u000f\u0000\u0000\u0000xl/workbook.xml���n�0\f��<������(\f�Y�\u0000Y��\u0000�E�B$R\u0010��y�2u�g\"��}��v?)�/,\u0012�zج\u001b0H#�@�\u001e>�\u000fO/`�:�.2a\u000fW\u0014�\r������l�O��\\kn��q��d�\u0019I��KrU�r��\u000b:/3bM�n���&\u0017\b\u0016B[\u001ea�4�\u0011�<^\u0012R] \u0005���^�\u00054��\u000b\u0019�i�%����]o\u001e�t���n��kk0�\r���߀\u001d:��Xu��s�\u0005PK\u0003\u0004\u0014\u0000\u0000\u0000\b\u0000phZ]�o<|�\u0000\u0000\u0000)\u0001\u0000\u0000\u001a\u0000\u0000\u0000xl/_rels/workbook.xml.rels���\n�0\f\u0007�OQrw�<�Ⱥ]D�U�\u0003�.�`[[�����x\u0010\u0007\u001e<��O~!y��'q'σ5\u0012�$\u0005AF�f0��k}�\u001e@pP�Q�5$a!����\u0017�T�;�\u000f�ED\fK�CpGD�=͊\u0013��Ĥ�~V!��C���:�]���\u001bP�LQ5\u0012|�d ���?�m�A����L&�8�\u000f�G�BD��(H��\u0018�%K�\nX���x\u0001PK\u0003\u0004\u0014\u0000\u0000\u0000\b\u0000phZ]9m�^�\u0001\u0000\u0000&\u0005\u0000\u0000\u0018\u0000\u0000\u0000xl/worksheets/sheet1.xml}��n�0\u0010���),��\u0006�_\u0001U�&R�]�R�{�Ic\u0015ld�d�O�&�(A�w��9���\u0004��ߦF\u0007НP��>�0\u0002Y����\u0005���^�\u0018u��-���\u0002��������G�\u00070�> �\u0002�i�(��=4�#�\u0005i���\r7���i�j�۳��)�6\\H\\���\u001f\u0001����\u0011oJ}��Ͷ���l�\u0004tzika\n�02��\t;�\bu]��\u0000#^\u0019q�g�����QM��\u0019�-���\u0007\u0012�2�����\u0002O��2�ꈴM�\u000e��Ão'\u0016X�ZHx1�օu��\u0015䧆�\u001a�V_��űt9���\u0001i�\u001d4�{t�V�63�O�1Z�J���1�\\��4��33��˳�5��\u0004��\u0000�\u0014٘\"s���\u0005�jf\u001e�\u0016^������a�2����aN\u000f�Y]4/`�Oo�ՠ�qL��VZ\u000fR�gqBR6�7���\u0018�֞ct6�\u0019#\u0007c�\r�E�҈$l�8h�\u001f\u0010\"�/� Mm6��\u0018:��[v�j\u001e\u0010c\u0007b�\r�E���\u0004qТ(#̟ \u000eR\u0012%!#a2a�W\u001f?\u001dq�PK\u0001\u0002\u0014\u0003\u0014\u0000\u0000\u0000\b\u0000phZ]�]U��\u0000\u0000\u00003\u0002\u0000\u0000\u0013\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000�\u0001\u0000\u0000\u0000\u0000[Content_Types].xmlPK\u0001\u0002\u0014\u0003\u0014\u0000\u0000\u0000\b\u0000phZ]~o���\u0000\u0000\u0000*\u0001\u0000\u0000\u000b\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000�\u0001/\u0001\u0000\u0000_rels/.relsPK\u0001\u0002\u0014\u0003\u0014\u0000\u0000\u0000\b\u0000phZ]�P���\u0000\u0000\u0000*\u0001\u0000\u0000\u000f\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000�\u0001\t\u0002\u0000\u0000xl/workbook.xmlPK\u0001\u0002\u0014\u0003\u0014\u0000\u0000\u0000\b\u0000phZ]�o<|�\u0000\u0000\u0000)\u0001\u0000\u0000\u001a\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000�\u0001�\u0002\u0000\u0000xl/_rels/workbook.xml.relsPK\u0001\u0002\u0014\u0003\u0014\u0000\u0000\u0000\b\u0000phZ]9m�^�\u0001\u0000\u0000&\u0005\u0000\u0000\u0018\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000�\u0001�\u0003\u0000\u0000xl/worksheets/sheet1.xmlPK\u0005\u0006\u0000\u0000\u0000\u0000\u0005\u0000\u0005\u0000E\u0001\u0000\u0000�\u0005\u0000\u0000\u0000\u0000"
    }
  ]
}