I am looking to stack the rows of my data table (ngx) one after the other in a vertical fashion.
I want to incorporate [@datatableAnimation]
, but I'm unsure where to place it.
When adding it to
<ngx-datatable [@datatableAnimation]>
, it only affects the header and footer.
<ngx-datatable
#table
[rows]="rows"
[columns]="columns"
class="bootstrap"
[columnMode]="ColumnMode.force"
[footerHeight]="50"
rowHeight="auto"
[count]="totalItems"
[externalPaging]="true"
[externalSorting]="true"
[limit]="nbItemPerPage"
[messages]="{emptyMessage: emptyMessage}"
[sorts]="[{prop: 'SendAt', dir: 'desc'}]"
(sort)="onSort($event)"
>
<ngx-datatable-column name="Date" prop="SendAt" [maxWidth]="200">
<ng-template let-column="column" ngx-datatable-header-template>{{ column.name }}</ng-template>
<ng-template let-row="row" ngx-datatable-cell-template>
{{ row.SendAt }}
</ng-template>
</ngx-datatable-column>
//...
Thank you!
I've checked the documentation, but couldn't find any information regarding this particular issue.