nhn / tui.grid

🍞🔡 The Powerful Component to Display and Edit Data. Experience the Ultimate Data Transformer!
http://ui.toast.com/tui-grid/
MIT License
2.39k stars 385 forks source link

not rendered rows set undefined after validate with filter #2005

Open sry4err opened 6 months ago

sry4err commented 6 months ago

Describe the bug after call validate-method with filter then not rendered rows's(never been shown because not reached scroll) value and class were set undefined.

To Reproduce Steps to reproduce the behavior:

  1. set grid filter
    • rows of data after filtering should be sufficient to create vertical-scroll.
  2. call validate method()
  3. Scroll down
  4. See error

Expected behavior row data undefined, row class undefined

Screenshots none.

Desktop (please complete the following information):

Additional context I guess this is because rowSapnMap and valueMap were not created in the grid's filteredViewData property (grid.store.data.filteredViewData). it just has rowKey, sortKey and uniqueKey