You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
However if you use a non-standard way of getting values with a dataGetter defined for the column, this will fail.
For instance, in the project I'm doing now, I use a dataGetter to calculate row numbers and display them in a table. However it's not possible to use this value as a rowKey because of the above.
Instead the dataGetter for the column in question should be called if it exists.
itemKey is used for make the item unique in data, so you have to provide a unique identifier for each item, like id or index or sequenceId, dataGetter is used to get cell data, not row data
dynamic identifier according to the row numbers is not same as it's not stable when adding/removing rows
Activity
nihgwu commentedon Oct 4, 2019
itemKey is used for make the item unique in data, so you have to provide a unique identifier for each item, like id or index or sequenceId,
dataGetteris used to get cell data, not row datadynamic identifier according to the row numbers is not same as it's not stable when adding/removing rows