Hi Sreenesh Pai,
Sorry for the delay.
Query 1:
Currently there is no direct support to position the newly added item in the KanbanModel Collection at specific index of the KanbanColumn category. We are validating this as a feature, and we will update you the details on July 14, 2020.
Query 2: How can I retrieve the underlying model object of the card that is existing at TargetIndex of TargetColumn if any?
We need some more time to check the possibilities for getting the TargetColumn underlying model object with our development team and will update you the details on July 14, 2020.
Query 3: How to programmatically move a card to specific index of a specific column?
We can programmatically move the card to specific category of the kanban column as in below code snippet and we regret to say that there is no direct support to position the card based on index at particular column.
C#:
private void MoveCard_Clicked(object sender, EventArgs e)
{
var category = viewModel.Cards[0].Category;
if (category.ToString() == "Open")
{
viewModel.Cards[0].Category = "In Progress";
}
else if (category.ToString() == "In Progress")
{
viewModel.Cards[0].Category = "Code Review";
}
else if (category.ToString() == "Code Review")
{
viewModel.Cards[0].Category = "Closed";
}
} |
Query 4:
We would like to let you know that when dynamically add/remove the KanbanModel collection items the Kanban item gets updated. To refresh whole Kanban view, update using the new collection of the KanbanModel set for the Kanban ItemsSource.
If your requirement differs from above, please update us with more details investigate further and provide you a better solution at the earliest?
Regards,
Devakumar D