Our blazing fast Grid component built with pure JavaScript


Post by luizatslog »

When adding the scrollable option with the callOnFunctions property true, the error of "Maximum call stack size exceeded" occurs

Screenshot_33.png
Screenshot_33.png (171.01 KiB) Viewed 331 times

Post by marcio »

Hello luizatslog,

That happens because you didn't set an onScroll handler, if you add it, the error is gone

    scrollable : { callOnFunctions : true, onScroll : (data) => console.log('handle onScroll', data) },

But anyway I created a ticket, as it should work with no call stack error in that case https://github.com/bryntum/support/issues/5216

Best regards,
Márcio


Post by mats »

What's your purpose for setting callOnFunctions on the scroller?


Post by henrique »

We have made a framework to build the application windows, and all events are registered using the "On functions", and in case it is not necessary to spread this configuration throughout the entire application, the framework automatically fills this information in all locations, even if the event does not exist.


Post Reply