Hi Emil,
Thanks for using Syncfusion products.
Regarding “Is it possible to bind columns or like in the Documentation they need to be hardcoded”
Yes. It is possible to bind the columns to Kanban. Please find the code snippet below.
Code Example:
|
<kanban:SfKanban x:Name="kanban" AutoGenerateColumns="False" Columns="{Binding KanbanColumns}" HorizontalOptions="FillAndExpand"
VerticalOptions="FillAndExpand" ItemsSource="{Binding Cards}"/>
|
Regarding “There is drag and drop Feature. Is it just visual effect or i can commit ui changes to observablecollection and it gets ordered based on ui ”
You can change the category of the selected card’s model in DragEnd event. Please find the code snippet below.
Code Example:
|
private void Kanban_DragEnd(object sender, KanbanDragEndEventArgs e)
{
(e.Data as KanbanModel).Category = e.TargetCategory;
}
|
We have prepared sample for these requirements which can be downloaded from the below location.
Please check the attached sample and let us know if you need further assistance on this.
Regards,
Saravana Pandian M