Using Datatables inAstro, Maximum call stack size exceeded
Using Datatables inAstro, Maximum call stack size exceeded
![MinhTran](https://secure.gravatar.com/avatar/df2ca48b87f34f7df4ca82bcd8fb5e52/?default=https%3A%2F%2Fvanillicon.com%2Fdf2ca48b87f34f7df4ca82bcd8fb5e52_200.png&rating=g&size=120)
Hi everyone, please help me to resolve this problem, I tried to use Datatables in Astro buy get the error, I dont know how to fix it. With the same code, I tried on codepen it work.
$(#myTable
).DataTable({
lengthMenu: [[10, 100, 500, 1000, -1], [10, 100, 500, 1000, "All"]],
layout: {
bottomStart: 'info',
bottomEnd: ['pageLength', {paging: {type: 'simple_numbers'}}],
top1Start: {
buttons: ['colvis', 'csvHtml5', 'excelHtml5']
},
topStart: ['info'],
topEnd: ['pageLength', {paging: {type: 'simple_numbers'}}],
top1End: ['search']
},
data: generateRandomData(10000)
});
Replies
Happy to take a look at a test case.
Allan
Hello guys! Any news about this issue? I have experimented the same issue with only 1500K
See Allan's post above.