I am using Xamarin.Forms.DataGrid for displaying data as a report.When i click any number i want to open phone dialer.
i have implemented opening phone dialer using xamarin.essentials i want to implement it when i click a number or click on a row in datagrid.
How can i do that.
please help.
`< / StackLayout >
< dg:DataGrid x:Name="SalesGrid" RowHeight="45" FontSize="12" HeaderFontSize="15" HorizontalOptions="FillAndExpand" >
< dg:DataGrid.Columns > < dg:DataGridColumn Title="Date" PropertyName="Date" Width="150" HorizontalContentAlignment="StartAndExpand" VerticalContentAlignment="CenterAndExpand"/> < dg:DataGridColumn Title="Number" PropertyName="Num" Width="170" HorizontalContentAlignment="StartAndExpand" VerticalContentAlignment="CenterAndExpand" /> < dg:DataGridColumn Title="nhg" Width="0" > < dg:DataGridColumn.CellTemplate > < DataTemplate > < ContentView VerticalOptions="FillAndExpand" HorizontalOptions="StartAndExpand" > < Label Text="{Binding SALES}" HorizontalOptions="Center" VerticalOptions="Center" TextColor="White" /> </ ContentView > </ DataTemplate > </ dg:DataGridColumn.CellTemplate > </ dg:DataGridColumn > </ dg:DataGrid.Columns > </ dg:DataGrid > </ StackLayout >`