Blazor Kanban Board - Work-In-Progress Validation
This sample demonstrates how to limit the minimum and maximum number of cards to each column of the Kanban control. Configured the options in the property panel to change the constraint type and related attributes.
To Do - 5 items Min: 6 Max: 8 | In Progress - 4 items Min: 2 | Testing - 7 items Min: 2 Max: 5 | Done - 5 items Max: 4 |
---|
Andrew Fuller - 3 items | |||
Task 20 Enhance editing functionality | Task 2 Improve application performance | No cards to display | Task 13 Analyze SQL server 2008 connection |
Janet Leverling - 6 items | |||
Task 3 Arrange a web meeting with the customer to get new requirements | Task 4 Fix the issues reported in the IE browser Task 11 Fix cannot open user’s default database SQL error | Task 27 Fix the issues reported in data binding Task 30 Test editing feature in the IE browser | Task 17 Analyze stored procedures |
Margaret Hamilt - 3 items | |||
Task 10 Show the retrieved data from the server in grid control | No cards to display | No cards to display | Task 8 Test the application in the IE browser Task 15 Analyze grid control |
Michael Suyama - 1 item | |||
No cards to display | No cards to display | Task 26 Check Login page validation | No cards to display |
Nancy Davloio - 4 items | |||
Task 1 Analyze the new requirements gathered from the customer | Task 21 Improve the performance of the editing functionality | Task 25 Fix the issues reported in Safari browser Task 28 Test editing functionality | No cards to display |
Robert King - 1 item | |||
No cards to display | No cards to display | Task 29 Fix editing issues reported in Firefox | No cards to display |
Steven Walker - 3 items | |||
Task 22 Arrange web meeting with the customer to show editing demo | No cards to display | Task 24 Fix the issues reported by the customer | Task 16 Stored procedure for initial data binding of the grid |
Constraint
Type |
Validate Constraints
Columns | |
MinCount | |
MaxCount | |
The Kanban component validates the number of cards in the particular column or swimlane using the ConstraintType property as follows,
- Column: Validates the number of cards based on the column. By default, column validation is applied to Kanban board.
- Swimlane: Validation applies based on number of cards in a particular column cell and swimlane.
In this demo, property panel shows the following options:
Columns
: You can choose a column and set maximum and minimum limit to the selected column.- MinCount: Minimum limit of cards required for each column. If the cards count does not reach the minimum limit, it will indicate the validation failed state.
- MaxCount: Maximum limit of cards per column. If the cards count exceeds the maximum limit, it will indicate the validation failed state.