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
{{ message }}
Repository navigation
Multiple values in a cell and specify which value to use for sorting #5
Please check out this image. The cell has 2 values: one is an original value and the other is a variation compared to control group. The current implementation is done using jQuery dataTable and I am searching for an alternative since it is not compatible with React. The way I did with dataTables is adding a number using input tag as hidden and set sorting to be done with the input tag in the cell, not just any number.
Activity
bebraw commentedon Apr 7, 2017
Hi,
Sorting is per column. What kind of sort are you looking for exactly? Can you give an example?
nextofsearch commentedon Apr 8, 2017
@bebraw Thanks for responding.
Please check out this image. The cell has 2 values: one is an original value and the other is a variation compared to control group. The current implementation is done using jQuery dataTable and I am searching for an alternative since it is not compatible with React. The way I did with dataTables is adding a number using input tag as hidden and set sorting to be done with the input tag in the cell, not just any number.
bebraw commentedon Apr 9, 2017
Check sortabular carefully. Maybe one of those would work. Especially multi-column sort was designed for more complex cases.
I'm not sure if I got the variation idea right but it should be possible to tweak the behavior to match your requirements.