Specify which rows get child row icons and functionality

Specify which rows get child row icons and functionality

jbronikowskijbronikowski Posts: 7Questions: 4Answers: 0

Is there a way to remove the child row functionality and icon for rows that do not have an specific array set.

Row 1 - d.array[1] isset
Row 2 - d.array[1] isnotset
Row 3 - d.array[1] isset

Child rows (show extra / detailed information)

Answers

  • allanallan Posts: 52,525Questions: 1Answers: 8,020 Site admin

    Absolutely, just don't render in the button. Perhaps the easiest option would be to use createdRow and add a class to any rows which do have child row information. Then you can use that class for both the icon display and the event handler selector.

    Allan

This discussion has been closed.