No free space error when adding card

Is there a limit on the number of cards the Kanban component can handle?

We have an issue where we cannot add cards to a Kanban board.
We receive an error when calling addCard:

TypeError: Cannot read properties of undefined (reading 'noFreeSpace')
    at Object.Jr [as add-card] (add.js:14:53)

Good day @tonygoodchild ,

There is no known limit of the number of cards. In general we recommend to use renderType:“lazy” to handle great amount of cards as it can significantly enhance the widget performance.

As for the error, there are several reasons why it could occur. Please, check the following:

  • an existing columnId is passed to the addCard()
  • an existing rowId is passed to the addCard()

For example, we get the error when passing non-existent columnId to the method: DHTMLX Snippet Tool. To avoid the error you could add a check for the existence of the column/row as here: DHTMLX Snippet Tool .