You can get the get the X and Y coordinates when interacting with SfDataGrid by using SfDataGrid.RowColumnIndexToPoint method. You need to pass the RowColumnIndex for obtaining the coordinates.
You can get these coordinates in anywhere while interacting with SfDataGrid. Refer the below code example in which the X and Y coordinates are obtained by passing the RowColumnIndex in GridTapped, GridDoubleTapped and GridLongPressed events.
Note: Similarly, you can also get the RowColumnIndex based on the touch points using the SfDataGrid.PointToCellRowColumnIndex method.
|Article ID:||Published Date:||Last Revised Date:||Platform:||Control:|