Hello.
I need help with building the responsive Datatable.
I am assembling it according to the example in the documentation, but the error below occurs:
Uncaught TypeError: Cannot read properties of undefined (reading 'state')
This error occurs in this code snippet based on the documentation itself:
return data + "<span class=\"ms-2 badge badge-light-" + status[index]["state"] + " fw-bold\">" + status[index]["title"] + "</span>";
Hi,
Can you check your datatable data status[index]["title"]
as the error indicates that title
is not available in your JSON array?
Regards.