All Demos / Kanban / Data Binding / DynamicObject Binding

Blazor Kanban Board - DynamicObject Binding

Loading Syncfusion Blazor Server Demos…
This demo passes automated axe checks with 0 violations — semantic markup, ARIA, full keyboard operation, visible focus. Section 508 conformant Accessibility report VPAT
To Do
- 4 items
In Progress
- 6 items
Testing
- 8 items
Done
- 2 items

This sample demonstrates data binding with a DynamicObject collection and supports CRUD operations in the Blazor Kanban component by visualizing a software development task tracker. Cards are generated dynamically with random status, summary, and assignee values.

In this demo, a DynamicObject collection is bound to the Kanban DataSource property. Override GetDynamicMemberNames in the DynamicObject class and return property names to enable data operations and editing.

Additional essential interactions that enhance analysis and control are also featured:

  • Data Binding: Bind a DynamicObject collection to the Kanban DataSource property.
  • Dialog Editing: Add, update, and delete cards directly from the card editor dialog.
  • Columns: Group cards by workflow stage such as To Do, In Progress, Testing, and Done.

Key interactive features demonstrated in this sample include:

  • Dynamic Generation: 20 tasks are generated at runtime with random status, summary, and assignee values.
  • Allow Adding: The AllowAdding flag on each column enables the plus button to add new cards.
  • Edit Cards: Double-click any card to open the editor dialog and modify the underlying dynamic data.
  • Delete Cards: Use the delete action in the editor dialog to remove a card from the dynamic collection.

The Data Configuration highlights the building blocks of dynamic data binding:

  • DynamicDictionary: A custom DynamicObject subclass that stores values in an internal dictionary.
  • GetDynamicMemberNames: Overrides the method to expose the property names so the Kanban can read and edit values.
  • DataSource: The DynamicObject collection is assigned to the Kanban DataSource property.

Looking for the full Blazor Kanban component overview, features, pricing, and documentation? Visit the Blazor Kanban page.