<p-dataTable [value]="services" [paginator]="true" expandableRows="true" rowExpandMode="single">
...</p-dataTable>
が中にクリックされるボタンで以下のコードPrimeng行のrowIndexはどのように展開されますか?
<ng-template let-i="rowIndex">
<button (click)="expand(i)"> expand </button>
</ng-template>
を使用した行の拡張のためにあなたのngのテンプレートではDataTableの
はこれだけですか? – alehn96
ここに入れてください –
alehn96
あなたはplnkerを作成できますか?どのように特定の行を展開していますか? – Aravind