Skip to content

Commit 627e432

Browse files
chore(Docs): fix broken example (#3396)
Co-authored-by: Tsvetomir Hristov <106250052+Tsvetomir-Hr@users.noreply.github.com>
1 parent 348c042 commit 627e432

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

components/grid/templates/command-column-header.md

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -31,10 +31,12 @@ The `HeaderTemplate` of the Grid command column enables you to customize the hea
3131
<TelerikSvgIcon Icon="@SvgIcon.Gear" />
3232
<strong>Actions</strong>
3333
</HeaderTemplate>
34-
<GridCommandButton Command="Edit" Icon="@SvgIcon.Pencil">Edit</GridCommandButton>
35-
<GridCommandButton Command="Save" Icon="@SvgIcon.Save" ShowInEdit="true">Update</GridCommandButton>
36-
<GridCommandButton Command="Cancel" Icon="@SvgIcon.Cancel" ShowInEdit="true">Cancel</GridCommandButton>
37-
<GridCommandButton Command="Delete" Icon="@SvgIcon.Trash">Delete</GridCommandButton>
34+
<Template>
35+
<GridCommandButton Command="Edit" Icon="@SvgIcon.Pencil">Edit</GridCommandButton>
36+
<GridCommandButton Command="Save" Icon="@SvgIcon.Save" ShowInEdit="true">Update</GridCommandButton>
37+
<GridCommandButton Command="Cancel" Icon="@SvgIcon.Cancel" ShowInEdit="true">Cancel</GridCommandButton>
38+
<GridCommandButton Command="Delete" Icon="@SvgIcon.Trash">Delete</GridCommandButton>
39+
</Template>
3840
</GridCommandColumn>
3941
</GridColumns>
4042
</TelerikGrid>
@@ -75,4 +77,4 @@ The `HeaderTemplate` of the Grid command column enables you to customize the hea
7577

7678
## See Also
7779

78-
* [Grid Command Column](slug:components/grid/columns/command)
80+
* [Grid Command Column](slug:components/grid/columns/command)

0 commit comments

Comments
 (0)