Adding Extra Detail To Child Row

Adding Extra Detail To Child Row

OptimusHanniganOptimusHannigan Posts: 2Questions: 1Answers: 0

I have a responsive table that collapses the columns into the child row.
I've searched for the past couple hours with no luck.

I'd like to either accomplish one of the following:

My table has complex headers, I'd like to show these above the data once collapsed in the child row so that they are still 'grouped' as such.

If this isn't possible, is it possible to name a column differently, only when collapsed? IE: if a column is named Sales normally, once collapsed, I'd like it to say Annual Sales, etc.

Thanks!

Answers

  • colincolin Posts: 15,143Questions: 1Answers: 2,586

    Hi Optimus,

    Yep, you can listen to an event, and then change the column name accordingly. The example on this page should get you moving in the right direction.

    Cheers,

    Colin

  • OptimusHanniganOptimusHannigan Posts: 2Questions: 1Answers: 0

    This is trickier since I'm using an older 1.x version as I'm using the complex headers which don't seem to be working with the latest responsive version. Any other thoughts?

  • colincolin Posts: 15,143Questions: 1Answers: 2,586

    Yep, complex headers don't work on the newer versions, and sorry, I can't think of anyway of changing the headers on the older ones.

This discussion has been closed.