Skip to content

Commit 203dec6

Browse files
committed
doc: 更新示例
1 parent 3109056 commit 203dec6

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/BootstrapBlazor.Server/Components/Samples/SortableLists.razor

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,8 @@
187187
Introduction="@Localizer["SortableListTableIntro"]"
188188
Name="Table">
189189
<SortableList Option="_optionTable" OnUpdate="OnUpdateTable">
190-
<Table TItem="Foo" Items="@Items" IsStriped="true" ShowLineNo="true" RenderMode="TableRenderMode.Table">
190+
<Table TItem="Foo" Items="@Items" IsStriped="true" ShowLineNo="true" RenderMode="TableRenderMode.Table"
191+
OnGetRowKey="foo => foo">
191192
<TableColumns>
192193
<TableColumn @bind-Field="@context.DateTime" Width="180" />
193194
<TableColumn @bind-Field="@context.Name" />

0 commit comments

Comments
 (0)