here I encounter a problem associated with ions, I bind my dynamic data to the ion series and the data displayed in the ion column, here the table is huge and it turns off, and the width of this unstable is lower - this is my cod
<ion-grid class="contnr">
<ion-row style="" class="grid-head">
<ion-col width-40>
Transaction
</ion-col>
<ion-col width-40>
Count
</ion-col>
<ion-col width-40 >
Overall Gross Amount
</ion-col>
<ion-col width-40 >
Overall Disc
</ion-col>
<ion-col width-40>
Overall Tax
</ion-col >
<ion-col width-40>
Overall ServiceTax
</ion-col>
<ion-col width-40>
Overall Charge
</ion-col>
<ion-col width-40>
Overall Net
</ion-col>
</ion-row>
<ion-row *ngFor="let value of resultData" style="background:#eff0f1" class="cont-rows">
<ion-col width-40>
{{value.TransacType}}
</ion-col>
<ion-col width-40>
{{value.Transactions}}
</ion-col>
<ion-col width-40>
{{value.Count}}
</ion-col>
<ion-col width-40>
{{value.OverallSales}}
</ion-col>
<ion-col width-40>
{{value.Discount}}
</ion-col>
<ion-col width-40>
{{value.OverallTax}}
</ion-col>
<ion-col width-40>
{{value.MandatoryTax}}
</ion-col>
<ion-col width-40>
{{value.ServiceCharge}}
</ion-col>
<ion-col width-40>
{{value.NetAmt}}
</ion-col>
</ion-row>
<ion-row>
<ion-col>
Total
</ion-col>
<ion-col>
{{grossTotal}}
</ion-col>
<ion-col>
{{Nets}}
</ion-col>
</ion-row>
</ion-grid>
here the problem in the table is so long that it turns off, and even if im setting to use scss, but the col and col data do not get the correct alignment

source
share