angular-ui/ui-grid

Erroneous row.entity

Open

#4522 aperta il 15 ott 2015

Vedi su GitHub
 (1 commento) (0 reazioni) (0 assegnatari)JavaScript (2496 fork)batch import
help wantedneeds: analysis

Metriche repository

Star
 (5395 star)
Metriche merge PR
 (Nessuna PR mergiata in 30 g)

Descrizione

Hi I in my grid I want to make a link reference (for each row) to other page, the link is build of row.entity data of the grid (so it's different and unique for each row), the problem is when I have scroll implemented (by default) for some rows (when scrolling down) then row.entity is not the same as the row it supposed to be, but when I display the hall data (by invoking function that gets the data.length and auto-resize ui-grid) each row.entity is the same as it must be in the grid. Is it a bug or I need to change something in the gridOptions? Thanks.

Guida contributor