Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@page "/univer-sheet"
@page "/univer-sheet"
@inherits WebSiteModuleComponentBase
@attribute [JSModuleAutoLoader("Samples/UniverSheets.razor.js")]

Expand All @@ -13,11 +13,12 @@
Name="Normal">
<section ignore>
<p>@((MarkupString)Localizer["NormalDesc1"].Value)</p>
<p>@((MarkupString)Localizer["NormalDescRibbonType"].Value)</p>
<Button OnClickWithoutRender="OnPushExcelData" Text="@Localizer["PushButtonText"]"></Button>
<Button OnClickWithoutRender="OnSaveExcelData" Text="@Localizer["SaveButtonText"]"></Button>
</section>
<div class="bb-sheet-demo">
<UniverSheet @ref="_sheetExcel" OnReadyAsync="OnReadyAsync"></UniverSheet>
<UniverSheet @ref="_sheetExcel" OnReadyAsync="OnReadyAsync" RibbonType="UniverSheetRibbonType.Default"></UniverSheet>
</div>
<section ignore>
<Textarea rows="3" readonly Value="@_jsonData"></Textarea>
Expand Down
1 change: 1 addition & 0 deletions src/BootstrapBlazor.Server/Locales/en-US.json
Original file line number Diff line number Diff line change
Expand Up @@ -7011,6 +7011,7 @@
"NormalIntro": "Set your own plugins by setting the <code>Plugins</code> parameter",
"NormalDesc1": "Push data to the spreadsheet by calling the instance method <code>PushDataAsync</code>. Click the <b>Save Data</b> button to get the serialized data of the table data",
"NormalDesc2": "Click the <b>Push Data</b> button to push data to the table, and click the first icon on the <b>Toolbar</b> to get data from the server.",
"NormalDescRibbonType": "Set the toolbar style using the parameter <code>RibbonType</code>.",
"PushButtonText": "Push",
"SaveButtonText": "Save",
"ToastOnReadyTitle": "Notification",
Expand Down
1 change: 1 addition & 0 deletions src/BootstrapBlazor.Server/Locales/zh-CN.json
Original file line number Diff line number Diff line change
Expand Up @@ -7011,6 +7011,7 @@
"NormalIntro": "通过调用实例方法 <code>PushDataAsync</code> 推送数据到电子表格",
"NormalDesc1": "点击 <b>推送数据</b> 按钮主动将数据推送给表格,点击 <b>保存数据</b> 按钮获得表格数据序列化的数据",
"NormalDesc2": "点击 <b>推送数据</b> 按钮主动将数据推送给表格,点击 <b>工具栏</b> 第一个小按钮主动从服务器端获取数据",
"NormalDescRibbonType": "通过参数 <code>RibbonType</code> 设置工具栏样式",
"PushButtonText": "推送数据",
"SaveButtonText": "保存数据",
"ToastOnReadyTitle": "组件通知",
Expand Down