Skip to content

Commit 13f3d68

Browse files
Merge pull request #4799 from syncfusion-content/BLAZ-893184-Column
893184: Resolved mistake in complex column declaration
2 parents ab92b9e + eef98fd commit 13f3d68

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

blazor/datagrid/column-rendering.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -480,7 +480,7 @@ In the below example, we have bound the nested **Employee** object’s **FirstNa
480480

481481
> You can also use the **nameof** for complex columns instead of assigning static text for the `Field` property.
482482
> ```cshtml
483-
> <GridColumn Field="@(nameof(EmployeeData.EmployeeName) + "." + nameof(EmployeeName.FirstName))" HeaderText="First Name" Width="150"></GridColumn>
483+
> <GridColumn Field="@(nameof(EmployeeData.Name) + "." + nameof(EmployeeName.FirstName))" HeaderText="First Name" Width="150"></GridColumn>
484484
> ```
485485
486486
{% tabs %}

0 commit comments

Comments
 (0)