Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
385
Various virtualization problems
posted

Hi,

i'm facing some problems while using your Grid (virtualization mode: fixed)

- When filling the grid with a lot of rows (100000) Internet Explorer 10 doesn't show them all, i can only scroll to ~25000 (depending on row height i think).

- The avgRowHeight causes a lot of confusion for me. The value set, isn't always the exact height the rendered row has. I can't really figure out why. Also setting the avgRowHeight to a bad value (I guess when the scroll containers height isnt divisible by row-height or so) leads to some rows to be cut of at the end. At least i can not scroll to them. The problem is, the font(size) should be set dynamically later, also there might be multi-line (wrapped) text, so i can't set an always-working default avgRowHeight. that fits all situations.

- How does VirtualScrollTo work? I guess that the value passed to it is the desired row-index. When calling it with low values (1-10), the expected row is in the view-area. But the further i go down, the bigger the offset from the row wiith index X is. Or am i using the method in a wrong way?

- Cancelling the edit-mode by clicking on any other row in the grid, makes it impossible to re-enter edit mode (clicking on cell doesn't do anything).

edit:Found out that the edit-mode behaviour only apperas when RowSelectionMode is set to SingleRowSelection. Looks like the value of "this._waitSel" in "infragistics.ui.grid.updating.js" is never resetted, thus preventing the grid from entering editmode. Manually resetting the value works, but i'm quite unsure whether this has other impacts on the grid-behaviour. Also I don't like these kind of dirty hacks.

Thanks in advance

Lorenz