How do I attach two rows so that they stay together when sorting via column header clicks?

How do I attach two rows so that they stay together when sorting via column header clicks?

scotsscriptsscotsscripts Posts: 11Questions: 5Answers: 0

Basically I want to display sortable data on one row, then a comment about the data in the next row and keep that relationship even after sorting.

This question has an accepted answers - jump to answer

Answers

  • kthorngrenkthorngren Posts: 20,277Questions: 26Answers: 4,766

    Maybe Child Detail Rows will do what you want.

    Kevin

  • scotsscriptsscotsscripts Posts: 11Questions: 5Answers: 0

    I saw that but not being super versed in JS I couldn't figure out way to display/open all the child detail rows by default. Opening them one at a time isn't going to work for the situation.

  • kthorngrenkthorngren Posts: 20,277Questions: 26Answers: 4,766
    edited July 2022 Answer ✓

    You can open all child rows using initComplete. See the last post in this thread for an example.

    Kevin

Sign In or Register to comment.