I believe this would eliminate slowness in IE, like when the grid has a reasonable height set. It would be ideal if the implemented solution was able to maintain the row virtualization when vertical scrolling is disabled. With a test of 1000s of records we've seen nearly exponential slowness in IE Chrome works great :) ![]() I assume this is related to row virtualization and IE managing memory and drawing DOM elements quite poorly.Įxample: With about 320 rows (height: 7000px) and ~20 columns the below calls takes about 2seconds to execute and an additional 3-6seconds for IE to stop drawing and give control back to the user. The second grid sets domLayoutautoHeight. They are sized and positioned appropriately based on the chart's dimensions, the nature of the data and the configuration. This scenario is illustrated below where 10,000 records are loaded directly into the browser: Once the data is loaded into the grid using the Client. For this use case the Client-Side Row Model has been designed. All of these components are managed by the chart's layout engine. The simplest approach is to send all row data to the browser in response to a single request at initialisation. We are seeing this lag when setting the data source on page load and anytime we change column visibility to true. The first grid uses the default height of 400px and you can see the empty space after the last row. Each chart is composed of a single or multiple series, and optionally a legend, axes, and captions, such as title, subtitle and footnote. value 0 / NEVER / value 1 / ALWAYS / value 2 / WHENNEEDED /. enableHorizontalScrollbar value enableVerticalScrollbar value with. ![]() We are currently implementing a workaround where we calculate the height each time it is changed, apply that height to the gridOptions containing div, and then call doLayout() (forPrint seems almost identical).Ī concerning negative side effect to setting the height to fit all containing rows is that the rendering time in IE is quite awful. With the latest version on Github v3.0.0-rc.16 you can disable horizontal and vertical Scrollbar separately. I've used ag-grid, and have followed the rule of having the parent div of the page define an explicit height so that I can set a maximum height on the grid, allowing scrolling, rather than growing in heigh indefinitely.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |