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
Expand Up @@ -20,6 +20,7 @@
Introduction="@Localizer["TableCellMergeCellIntro"]"
Name="MergeCell">
<section ignore>
<p>@((MarkupString)Localizer["TableCellOnCellRenderTip"].Value)</p>
<p>@((MarkupString)Localizer["TableCellMergeCellTip"].Value)</p>
<Pre class="mb-3">.cell-demo {
--bs-table-bg: #e9ecef;
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 @@ -4852,6 +4852,7 @@
"TablesAutoRefreshNormalTitle": "Auto Refresh"
},
"BootstrapBlazor.Server.Components.Samples.Table.TablesCell": {
"TableCellOnCellRenderTip": "<code>OnCellRender</code> is designed to customize the rendering of individual cells and complements the <code>Template</code> of <code>TableColumn</code>. When <code>OnCellRender</code> is used, the column's <code>Template</code> is ignored. Use <code>Value</code> for simple custom rendering and <code>ValueTemplate</code> for more complex rendering",
"TableCellMergeCellIntro": "Basic table display usage",
"TableCellMergeCellTip": "In this example, by setting the <code>OnCellRenderHandler</code> callback delegate, the cell merge operation is performed on the two columns <code>Name</code> and <code>Address</code> through the judgment condition, And set the background color of the merged cell by setting the <code>TableCellArgs</code> attribute <code>Class</code> value to <code>cell-demo</code> style sheet name",
"TableCellMergeCellTitle": "Merge Cells",
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 @@ -4852,6 +4852,7 @@
"TablesAutoRefreshNormalTitle": "自动刷新"
},
"BootstrapBlazor.Server.Components.Samples.Table.TablesCell": {
"TableCellOnCellRenderTip": "<code>OnCellRender</code> 设计目的是对特定单元格进行自定义渲染,与 <code>TableColumn</code> 的 <code>Template</code> 是补充关系,当使用 <code>OnCellRender</code> 时,列的 <code>Template</code> 将被忽略;通过 <code>Value</code> 可以进行简单的自定义渲染,复杂的请通过 <code>ValueTemplate</code> 操作",
"TableCellMergeCellIntro": "基础的表格展示用法",
"TableCellMergeCellTip": "本例中通过设置 <code>OnCellRenderHandler</code> 回调委托,通过判断条件对 <code>Name</code> 与 <code>Address</code> 两列进行单元格合并操作,并且通过设置 <code>TableCellArgs</code> 属性 <code>Class</code> 值为 <code>cell-demo</code> 样式表名称对合并后单元格进行背景色设置",
"TableCellMergeCellTitle": "合并单元格",
Expand Down
Loading