Quantcast
Channel: Ionic Forum - Latest topics
Viewing all articles
Browse latest Browse all 71531

Ion-grid horizontal scroll for randon number of columns

$
0
0

@Mennocch wrote:

I’m trying to create a horizontal scroll so that the contents of the ion-grid fields do not break line.

ionic 3.20
cordova 8.0

estmin

My code:

  <p><b>{{MsgPerNome}}</b></p>
  <div text-justify>
    <div class="item-text-wrap" [innerHtml]=MsgBody></div>
  </div>
  <ion-row>
      <ion-col class="gHeader" *ngFor="let header of headers" text-center>
          <b>{{header}}</b>
      </ion-col>
  </ion-row>
  <ion-row *ngFor="let midia of MsgMidia">
      <ion-col *ngFor="let header of headers" [ngClass]="isNum(midia[header]) ? 'numberAlign' : 'textAlign'">
          {{midia[header]}}
      </ion-col>
  </ion-row>

Tks for any help.

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 71531

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>