Skip to content

Commit d528aa5

Browse files
committed
Review changes
1 parent 7e9ede5 commit d528aa5

File tree

1 file changed

+5
-7
lines changed

1 file changed

+5
-7
lines changed

MAUI/DataGrid/Column-types.md

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1428,9 +1428,8 @@ The `DataGridHyperlinkColumn` inherits all the properties of the `DataGridTextCo
14281428
AutoGenerateColumnsMode="None"
14291429
ItemsSource="{Binding OrderInfoCollection}">
14301430
<syncfusion:SfDataGrid.Columns>
1431-
<syncfusion:DataGridHyperlinkColumn HeaderText="Country Link"
1432-
MappingName="Country"
1433-
/>
1431+
<syncfusion:DataGridHyperlinkColumn HeaderText="Country"
1432+
MappingName="Country" />
14341433
</syncfusion:SfDataGrid.Columns>
14351434
</syncfusion:SfDataGrid>
14361435

@@ -1440,17 +1439,16 @@ The `DataGridHyperlinkColumn` inherits all the properties of the `DataGridTextCo
14401439
DataGridHyperlinkColumn hyperlinkColumn = new DataGridHyperlinkColumn()
14411440
{
14421441
MappingName = "Country",
1443-
HeaderText = "CountryLink",
1442+
HeaderText = "Country",
14441443
};
14451444
dataGrid.Columns.Add(hyperlinkColumn);
14461445

14471446
{% endhighlight %}
14481447

14491448
{% endtabs %}
14501449

1451-
You can allow end-user to navigate the Uri when the cell value contains valid Uri address or using `DataGridCurrentCellRequestNavigatingEventArgs ` event. The `CurrentCellRequestNavigating` occurs when the current cell in DataGridHyperlinkColumn is clicked for navigation.
1452-
1453-
`DataGridCurrentCellRequestNavigatingEventArgs` of `CurrentCellRequestNavigating` event provide information about the hyperlink triggered this event. DataGridCurrentCellRequestNavigatingEventArgs.NavigateText returns the value from the column’s DisplayBinding if it is defined; otherwise, it uses the value bound to MappingName.
1450+
You can enable end-users to navigate to a URI either when the cell value contains a valid URI address or by handling the `DataGridCurrentCellRequestNavigatingEventArg`s event. The `CurrentCellRequestNavigating` event is triggered whenever a cell in the `DataGridHyperlinkColumn` is clicked for navigation.
1451+
The `DataGridCurrentCellRequestNavigatingEventArgs` associated with the `CurrentCellRequestNavigating` event provides details about the hyperlink that initiated the action. Its `DataGridCurrentCellRequestNavigatingEventArgs.NavigateText` property returns the value from the column’s `DisplayBinding` if one is defined; otherwise, it falls back to the value bound to `MappingName`.
14541452

14551453
{% tabs %}
14561454
{% highlight C# %}

0 commit comments

Comments
 (0)