Recently, I've been working on migrating my web platform from Bootstrap 3 to Bootstrap 4 and encountered some issues with the bootstrap-table plugin by wenzhixin. Specifically, the onPostBody event was not behaving as expected. After debugging my code using breakpoints in the Google Chrome inspector, I discovered that the onPostBody event was not being fired at all. To further investigate, I attached the onAll event to see which events were actually triggered, only to find that only the pre-body.bs.table event was firing. Subsequently, an error message 'Uncaught TypeError: Cannot convert undefined or null to object' appeared.
Any suggestions for resolving this issue would be greatly appreciated. Thank you.
My development environment includes Bootstrap v4.3.1, bootstrap-table v1.14.2, and jQuery v3.4.1.