Skip to content

Commit b273d9f

Browse files
updated read me
1 parent 65e3c97 commit b273d9f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# how-to-pass-selected-row-s-data-to-a-command-in-maui-datagrid
1+
# How to pass Selected Row's data to a command in MAUI DataGrid
22
In.NET [MAUI DataGrid](https://www.syncfusion.com/maui-controls/maui-datagrid) (SfDataGrid) provides two events for selection [SelectionChanging](https://help.syncfusion.com/cr/maui/Syncfusion.Maui.DataGrid.SfDataGrid.html#Syncfusion_Maui_DataGrid_SfDataGrid_SelectionChanging) and [SelectionChanged](https://help.syncfusion.com/cr/maui/Syncfusion.Maui.DataGrid.SfDataGrid.html#Syncfusion_Maui_DataGrid_SfDataGrid_SelectionChanged). It provides the added items and the removed items as arguments in it. You can pass the selected row info to a command in the ViewModel.
33

44
Refer the below code example in which a custom behavior for passing the selected row information to ViewModel is defined.

0 commit comments

Comments
 (0)