From bdb5f78671da7d8cebf22cf999f534360d83f4ba Mon Sep 17 00:00:00 2001 From: Nadezhda Tacheva Date: Wed, 8 Jan 2025 18:48:26 +0200 Subject: [PATCH] chore(common): fix latest warnings --- components/treelist/columns/command.md | 6 +++--- knowledge-base/grid-create-reusable-columns.md | 8 ++++---- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/components/treelist/columns/command.md b/components/treelist/columns/command.md index d3f31a5630..8c896e1148 100644 --- a/components/treelist/columns/command.md +++ b/components/treelist/columns/command.md @@ -57,7 +57,7 @@ There are four built-in commands: The command column provides access to the data item via `context`. This may be useful for conditional statements or passing parameters to custom business logic.
-```razor +````RAZOR @{ var product = context as ProductModel; @@ -71,7 +71,7 @@ The command column provides access to the data item via `context`. This may be u } } -``` +```` ### OnClick Handler @@ -88,7 +88,7 @@ The `OnClick` handler of the commands receives an argument of type `TreeListComm ## Example ->caption Example of handling custom commands in a treelist +>caption Example of handling custom commands in a TreeList ````RAZOR @* This sample showcases custom command handling for: diff --git a/knowledge-base/grid-create-reusable-columns.md b/knowledge-base/grid-create-reusable-columns.md index 23c9f2374f..0c310a5ef6 100644 --- a/knowledge-base/grid-create-reusable-columns.md +++ b/knowledge-base/grid-create-reusable-columns.md @@ -32,7 +32,7 @@ To create a reusable `GridColumn` component with templates, follow these steps: 2. Within the custom component, conditionally render a `GridColumn` with or without templates based on the provided parameters.
-````Index.razor +````RAZOR Index.razor @@ -97,7 +97,7 @@ To create a reusable `GridColumn` component with templates, follow these steps: } } ```` -````CustomColumn.razor +````RAZOR CustomColumn.razor @typeparam TItem @if (IsTemplate) @@ -153,7 +153,7 @@ else }; } ```` -````Employee.cs +````CS Employee.cs public class Employee { public int ID { get; set; } @@ -161,7 +161,7 @@ public class Employee public int RoleId { get; set; } } ```` -````Role.cs +````CS Role.cs public class Role { public int RoleId { get; set; }