Thread ID: |
Created: |
Updated: |
Platform: |
Replies: |
146600 | Aug 9,2019 05:22 PM UTC | Aug 12,2019 07:06 AM UTC | Xamarin.Forms | 1 |
![]() |
Tags: SfDataGrid |
[C#]
private void DataGrid_SwipeStarted(object sender, SwipeStartedEventArgs e)
{
//// Here you can get the desired row data, row index of the swiping row.
var rowData = e.RowData;
var direction = e.SwipeDirection;
if(e.RowIndex < 6)
{
//// You can cancel the swiping of the row.
e.Cancel = true;
}
} |
This post will be permanently deleted. Are you sure you want to continue?
Sorry, An error occured while processing your request. Please try again later.
This page will automatically be redirected to the sign-in page in 10 seconds.