Our blazing fast Grid component built with pure JavaScript


Post by hypergenekim »

Hi, if i understand the documentation correct it should be possible to use another (body) container as the scroller for the grid to manage the virtual rendering, but I cannot get it to work. I want to have the scrolling on the <body> instead of the grid container element so I only have one scroller on the webpage. Is this possible?


Post by johan.isaksson »

Hi,

By configuring Grid with autoHeight: true it will size itself to fit all rows, resulting in it not having any scrollbars of its own. It should visually give you what you request, but it will not use virtual rendering - all rows will be in DOM.

There is currently no option to have both autoHeight and virtual rendering. It could be solved but it is not trivial and we have not had any such requests earlier that I am aware of. If this is important and urgent to you, please consider contacting Professional Services (https://www.bryntum.com/services/) regarding a sponsored feature.

Best regards,
Johan Isaksson

Post Reply