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
Im having trouble with a index column, i kinda trying to do a ranking table, this table is sorted by a grade. I have a index in my data, but it's random, not sorted, so when i sort, the index goes crazy, i want my index to stay like 1, 2, 3... And sort the players by the grade. Can someone help me?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Im having trouble with a index column, i kinda trying to do a ranking table, this table is sorted by a grade. I have a index in my data, but it's random, not sorted, so when i sort, the index goes crazy, i want my index to stay like 1, 2, 3... And sort the players by the grade. Can someone help me?
{ Header: "P", accessor: "id", width: "8%", filterable: false, Cell: (row) => { return <div>{row.index}</div>; } },
i tryed this, but didn't work.
it goes that way.
Beta Was this translation helpful? Give feedback.
All reactions