Hi Antonio,
Greetings from Syncfusion.
We have analyzed your query and we would like to let you know that when we drag the card within the column DragEnd event returns TargetColumn argument is null in Android and iOS. This is actual behavior of SfKanban, due to the target column is not different from source column. Hence, if you want to get the target column in this scenario, you can get the source column instead of target column as per the below code example.
CodeSnippet:
private void kanban_DragEnd(object sender, KanbanDragEndEventArgs e)
{
if(e.TargetColumn == null)
{
var targetColumn = e.SourceColumn; // In Android and iOS if we drag the card in the same column is target column is null, hence use source column in this scenario.
}
}
|
Note: In UWP, it returns the target column as the source column while dragging within the column.
Please let us know if you have any concern.
Regards,
Yuvaraj.