Uncaught TypeError: td is undefined

I am using Kanban for my project. My setup includes the following code snippet for my column layouts:

                    <KanbanComponent
                        id="kanban"
                        keyField="StatusDescription"
                        dataSource={this.state.datamanager}
                        cardSettings={contentField: "Description"headerField: "JobID" }}
                        allowDragAndDrop={true}
                        swimlaneSettings={keyField: "TypeDescription" }}
                    >
                        <ColumnsDirective>
                            <ColumnDirective headerText="Preconstruction" keyField="Preconstruction"/>
                            <ColumnDirective headerText="Construction" keyField="Construction"/>
                            <ColumnDirective headerText="Punch List" keyField="Punch List"/>
                            <ColumnDirective headerText="Completed" keyField="Completed"/>
                        </ColumnsDirective>
                    </KanbanComponent>

When I drag a card over to the third column, the console returns an Uncaught TypeError: td is undefined within the Syncfusion method renderCardBasedOnIndex. This causes the card to disappear and breaks the entire Kanban board. This doesn't occur when dragging a card over to the other columns.

I tried adjusting the data and ColumnDirective keyfield to use no spaces such as "PunchList" but I still encounter the same error.


1 Reply

SK Satheesh Kumar Balasubramanian Syncfusion Team December 7, 2020 08:46 AM UTC

Hi Aliea, 
  
Greetings from Syncfusion Support..! 
  
We have validated your reported query at our end. But, we were unable to replicate the reported issue. Please refer the sample in the following link. 
  
  
Kindly try the above sample, if the issue persist still share the following details to check the issue further. 
  • Try to replicate the issue in the above sample
  • Share the code snippets
  • Share issue replicating sample if possible
  • Whether the issue replicates in specific Syncfusion package
  
Regards, 
Satheesh Kumar B 



Loader.
Up arrow icon