Blazor Kanban Board - ExpandoObject Binding
To Do - 7 items | In Progress - 7 items | Testing - 1 item | Done - 5 items |
|---|
[7]To Do Task
Task 10005Test the application in the IE browser. Task
Task 10006Analyze the new requirements gathered from the customer. Task
Task 10007Test the application in the IE browser. Task
Task 10008Analyze the new requirements gathered from the customer. Task
Task 100013Test the application in the IE browser. Task
Task 100016Improve application performance Task
Task 100017Analyze the new requirements gathered from the customer. | [7]In Progress Task
Task 10004Fix the issues reported in the IE browser. Task
Task 10009Validate new requirements Task
Task 100010Test the application in the IE browser. Task
Task 100012Validate new requirements Task
Task 100018Analyze the new requirements gathered from the customer. Task
Task 100019Improve application performance Task
Task 100020Analyze the new requirements gathered from the customer. | [1]Testing Task
Task 100015Test the application in the IE browser. | [5]Done Task
Task 10001Validate new requirements Task
Task 10002Validate new requirements Task
Task 10003Validate new requirements Task
Task 100011Analyze the new requirements gathered from the customer. Task
Task 100014Test the application in the IE browser. |
This sample demonstrates data binding with an ExpandoObject 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, an ExpandoObject collection is bound to the Kanban DataSource property to dynamically render fields and support runtime changes.
Additional essential interactions that enhance analysis and control are also featured:
- Data Binding: Bind an
ExpandoObjectcollection to the KanbanDataSourceproperty. - 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
AllowAddingflag 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:
- ExpandoObject: A flexible
ExpandoObjectinstance is used to hold the dynamic property values. - Dynamic Property Assignment: Properties are assigned at runtime using the dynamic keyword on each item.
- DataSource: The
ExpandoObjectcollection is assigned to the KanbanDataSourceproperty.
Looking for the full Blazor Kanban component overview, features, pricing, and documentation? Visit the Blazor Kanban page.