-
| 
         I'm playing around with a DataTable and wondering if there's a way I could implement collapsible rows. Specifically what I'm trying to do: when there are multiple successive rows with a repeated value in a particular column, display the first N rows in the sequence, and hide the rest; indicate somehow that there are folded rows, and provide a way to expose them. would start out looking something like this (note the repeated 'a' rows are folded): My first thought was simply not add the collapsed rows, and only insert them when the user unfolds, however there doesn't seem to be a way to insert rows in the middle of the table, only at the bottom. Next I tried looking for a CSS solution, add all the rows to the table upfront, but style with  Is what I'm attempting going to be possible? Or would it require deeper changes to the   | 
  
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
| 
         I had a similar question, I think, here: #3067 My solution was basically: 
 It works ok, but isn't great. I don't bother allowing sorting by any other columns, or it would get too complicated.  | 
  
Beta Was this translation helpful? Give feedback.
-
        
 Rows in a  
 
  | 
  
Beta Was this translation helpful? Give feedback.
I had a similar question, I think, here: #3067
My solution was basically:
It works ok, but isn't great. I don't bother allowing sorting by any other columns, or it would get too complicated.