Wizmo5 flexgrid not rendering completely in browser when seeing through developer tools

别说谁变了你拦得住时间么 提交于 2019-12-11 06:57:44

问题


Using coded-ui-tests to automate a screen which is using wijmo grid with scroll.

The problem is not able to record all the cells, as the cells which appear after scroll does not render in DOM, this is evident from Inspect element feature of browser.

How can I catch the cells?

Edited: The issue here is that only the cells which are visible is getting rendered in dom as we can see, while the part of the grid which is on right i.e. which will appear after scrolling is not getting rendered.

  • The red line shows only the visible cells are rendered not the ones which are towards right of the grid.
  • The yellow highlighted div shows the start of new row (which should not be in the actual case until all the cells of above row are not rendered).


回答1:


For record, Wijmo Flexgrid has inbuilt virtualizatio and therefore, only visible cells are rendered in the DOM. This is the design behavior of the control in order to provide good performance. Else, if there are 10000 records in the grid and each is rendered then it would take a lot of time. You can display all the records by not setting the height of FlexGrid.



来源:https://stackoverflow.com/questions/29626780/wizmo5-flexgrid-not-rendering-completely-in-browser-when-seeing-through-develope

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!