Hello,
when I don't have any records the kanban board is not opening the add new form with a separate button. If I have at least one record the add new form is opening properly.
Thank you
When I have at least one record :
When I don't have records :
Hi Kavishka,
We have reviewed your reported query and have created a simple project based on the information you provided. Unfortunately, we were unable to replicate your problem at our end. Could you please see the attached sample for your reference?
Could you please share the following information to help us replicate your problem on our end?
We want to let you know that the EJ1 platform has been deprecated. If possible, could you update your code to use the EJ2 Kanban component? For reference, please consult the following documentation and demo link.
Demo: https://ej2.syncfusion.com/demos/#/bootstrap5/kanban/overview.html
Documentation:
https://ej2.syncfusion.com/documentation/kanban/getting-started
https://www.syncfusion.com/javascript-ui-controls/js-kanban-board
Regards,
Vinothkumar
Thank you we will think about moving to EJ2 version in future. Out application is heavily using most of the EJ1 controls and need to consider the impact of changing.
I edited the sample you gave and it's also not giving the add new window if we are not passing any data to the kanban. If we pass at least one card details the add new is working fine.
I'm attaching the sample.
Thank you
Hi Kavihka,
We have considered the reported issue "The EJ1 kanban component addCard method is not working properly" as a bug from our end, and we will share the custom patch at the end of September 2023.
Now you can track the status of the reported issue through the feedback below,
Hi Kavihka,
On further validation, we have found that this is not a bug and it can be resolved in the application end by using a `showColumnWhenEmpty` property in Kanban that is utilized to display Kanban boards with empty data. When the data is set to empty, you should specify the dropdown value, as demonstrated in the following code snippet. Please refer to the provided code and attached sample for further information.
var statusOptions = ["Open", "InProgress", "Close"]; var assigneeOptions = ["Andrew Fuller", "Janet", "John Doe"]; $("#kanban").ejKanban( { enableTotalCount: true, dataSource: dataManager, columns: [ { headerText: "Backlog", key: "Open", isCollapsed: true }, { headerText: "In Progress", key: "InProgress", isCollapsed: true }, { headerText: "Done", key: "Close", isCollapsed: true } ], fields: { content: "Summary", primaryKey: "Id" }, editSettings: { editItems: [{ field: "Id" }, { field: "Status", editType: ej.Kanban.EditingType.Dropdown, editParams: { dataSource: statusOptions } }, { field: "Assignee", editType: ej.Kanban.EditingType.Dropdown, editParams: { dataSource: assigneeOptions } }, { field: "Estimate", editType: ej.Kanban.EditingType.Numeric, editParams: { decimalPlaces: 2 } }, { field: "Summary", editType: ej.Kanban.EditingType.TextArea, editParams: { height: 100, width: 200 } } ], allowEditing: true, allowAdding: true }, showColumnWhenEmpty: true, keyField: "Status" }); }); |
API Link: https://help.syncfusion.com/api/js/ejkanban#methods:kanbanedit-endedit
Regards,
Vinothkumar
Attachment: 184355_5a5f037b_9874d5a4.zip