Guest User

Untitled

a guest
Nov 19th, 2017
76
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.24 KB | None | 0 0
  1. <p-dataTable [(value)]="this.columnList" selectionMode="single" rows="25" [responsive]="true" [loading]="false" sortField="offeredDate">
  2. <p-header><div class="ui-helper-clearfix" style="width:100%"><span class="results-text" >Showing {{this.mccFilterPanelService.countResults }} results as of {{currentDate}} </span></div></p-header>
  3. <p-column field="id" hidden="true"></p-column>
  4. <p-column field="childName" header="Child" ></p-column>
  5. <p-column field="programName" header="Program" ></p-column>
  6. <p-column field="careOptionName" header="Care Options/Offerings" ></p-column>
  7. <p-column field="offerStatus" header="Offer Status" ></p-column>
  8. <p-column field="offeredDate" header="Offer Date" ></p-column>
  9. <p-column field="careAvailableDate" header="Care Availability Date" ></p-column>
  10. <p-column field="icon" header="Icon" >Display fa-icon if icon is true here</p-column>
  11.  
  12. </p-column>
  13. </p-dataTable>
  14.  
  15. export class ColumnList {
  16. public id: number;
  17. public name: string;
  18. public description: string;
  19. public icon: boolean; //this is the variable i want to use to determine when to show the icon
  20. }
Add Comment
Please, Sign In to add comment