Guest User

Untitled

a guest
Apr 20th, 2018
66
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.90 KB | None | 0 0
  1. // TODO: The table has to be build dynamically.
  2.  
  3. this.gridOptions = {
  4. columnDefs: [
  5. { headerName: 'County', field: 'country'},
  6. { headerName: 'ModelName', field: 'model' },
  7. { headerName: 'Address', field: 'address' },
  8. { headerName: 'Equipment Number', field: 'equipmentNo' }
  9. ],
  10.  
  11. rowData: [
  12. { country: 'Germany', model: 'Add', address: "xxxxx", equipmentNo: 1551599181 },
  13. { country: 'Poland', model: 'Mondeo', address: "xxxxx", equipmentNo: 8907234234 },
  14. { country: 'France', model: 'Boxter', address: "xxxxx", equipmentNo: 9872342344 },
  15. { country: 'Austria', model: 'Boxter', address: "xxxxx", equipmentNo: 239874244 }
  16. ],
  17.  
  18. rowSelection: 'single',
  19.  
  20. icons: {
  21. sortAscending: '<i class="fa fa-sort-amount-asc" aria-hidden="true"></i>',
  22. sortDescending: '<i class="fa fa-sort-amount-desc" aria-hidden="true"></i>',
  23. sortUnSort: '<i class="fa fa-sort" aria-hidden="true"></i>'
  24. }
  25.  
  26. }
Add Comment
Please, Sign In to add comment