Maximum call stack size exceeded. The error when using rowsgrouping plugin.
Maximum call stack size exceeded. The error when using rowsgrouping plugin.
ShaibaazS
Posts: 7Questions: 3Answers: 0
First time when the data is generated with Data parameter the DataTable & rowsGroup loads perfectly. When I make a ajax call to get new Data for the DataTable, I do ".clear()" & ".destroy()" and repopulate the DataTable. But my page Hangs and I face this error "Maximum call stack size exceeded". After 5-10 secs the DataTable loads with the new data and rows group modifications. I have tried with all possbile solutions but getting the same Error.
Hoping for a reply.
This discussion has been closed.
Answers
You should really address this to the author of the plug-in.
Face same problem
Found tricky solution for the same.
1. do not use destory
2. for reinit, first clear table using <tableObject>.clear()
3. then add rows using <tableObject>.rows.add(<tableDatas>).draw()