Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // TODO: The table has to be build dynamically.
- this.gridOptions = {
- columnDefs: [
- { headerName: 'County', field: 'country'},
- { headerName: 'ModelName', field: 'model' },
- { headerName: 'Address', field: 'address' },
- { headerName: 'Equipment Number', field: 'equipmentNo' }
- ],
- rowData: [
- { country: 'Germany', model: 'Add', address: "xxxxx", equipmentNo: 1551599181 },
- { country: 'Poland', model: 'Mondeo', address: "xxxxx", equipmentNo: 8907234234 },
- { country: 'France', model: 'Boxter', address: "xxxxx", equipmentNo: 9872342344 },
- { country: 'Austria', model: 'Boxter', address: "xxxxx", equipmentNo: 239874244 }
- ],
- rowSelection: 'single',
- icons: {
- sortAscending: '<i class="fa fa-sort-amount-asc" aria-hidden="true"></i>',
- sortDescending: '<i class="fa fa-sort-amount-desc" aria-hidden="true"></i>',
- sortUnSort: '<i class="fa fa-sort" aria-hidden="true"></i>'
- }
- }
Add Comment
Please, Sign In to add comment