Using Datatables inAstro, Maximum call stack size exceeded

Using Datatables inAstro, Maximum call stack size exceeded

MinhTranMinhTran Posts: 13Questions: 3Answers: 0

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

  • allanallan Posts: 63,489Questions: 1Answers: 10,470 Site admin

    Happy to take a look at a test case.

    Allan

  • arthurking2010arthurking2010 Posts: 1Questions: 0Answers: 0

    Hello guys! Any news about this issue? I have experimented the same issue with only 1500K

  • tangerinetangerine Posts: 3,365Questions: 39Answers: 395

    See Allan's post above.

Sign In or Register to comment.