I know this can be tricky, but I was aiming for a solution without any luck, so I have a table with expandable / compressible rows / child rows:
Col1 Col2 Col3 Node AAA
So, while all the child lines are expanded, and I sort Col1, I expect that sorting Node A and Node B, NOT will sort all child lines, i.e. if col1 collation, i should see this:
Col1 Col2 Col3 Node B Foo Bar
Not this....:
Col1 Col2 Col3
My code is located at https://jsfiddle.net/wayneye/tyxykyf3/ , I used the jQuery sorter , but can't restrict its use until my requirement is met: sort the parent rows, not the child rows
Please kindly give me a hand, you can change my HTML / js structure or use other libraries, appreciated!
source share