Skip to content
Discussion options

You must be logged in to vote

I had a similar question, I think, here: #3067

My solution was basically:

  • A hidden column for sorting. That allowed me to sort how I wanted (In your example, it wouldn't quite work, but the hidden column would be may be "a-1", "a-2", etc..
  • Manual code to fold/unfold rows. Basically "if you click on a folded row, unfold it by adding a bunch of new rows, then re-sort based on the hidden column"

It works ok, but isn't great. I don't bother allowing sorting by any other columns, or it would get too complicated.

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by ajwood
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants