#expanded row under specific column?

2 messages · Page 1 of 1 (latest)

toxic field
#

https://material.angular.dev/components/table/examples#table-expandable-rows
is it possible to have details under specific column in the table?
or
same columns in the expanded row?
in the link it opens new row and data uses whole space, but would it be possible to have description data under position column only? and if the symbol column can change width data in expanded row should follow that, is this even possible to achieve?

spring magnet
#

your request is not completely clear to me, but you should achieve the one-column width simply setting desired span here

    <td mat-cell *matCellDef="let element" [attr.colspan]="columnsToDisplayWithExpand.length">