Replies: 7 comments
-
Also if there is another way of achieving what Im trying to accomplish here, please let me know |
Beta Was this translation helpful? Give feedback.
-
Please ask this question on our support forum: https://spectrum.chat/react-table |
Beta Was this translation helpful? Give feedback.
-
As the spectrum chat is now closed and the issue never got replies, may I reopen this issue? |
Beta Was this translation helpful? Give feedback.
-
I’m assuming this is for v6? |
Beta Was this translation helpful? Give feedback.
-
yes |
Beta Was this translation helpful? Give feedback.
-
A discussion should suffice then :) |
Beta Was this translation helpful? Give feedback.
-
@dreamz89 you can fix it by removing one line in src/methods.js like this: |
Beta Was this translation helpful? Give feedback.
-
Using v6?
yes
Describe the bug
A clear and concise description of what the bug is.
Here is the short replication
https://codesandbox.io/embed/2v4rln937r
Im trying to make custom sort method for the "Monthly Renatal" column.
If the expander setting is activated (line 68 in the example) when I try to sort that column the sortMethod(a,b) will be called with undefined values (which can be confirmed with the console log on the line 71).
If on the other hand expander setting is commented, the sortMethod will be called with proper values.
I think this is a bug, but if Im doing something wrong, please let me know
Beta Was this translation helpful? Give feedback.
All reactions