Last active
March 21, 2018 17:50
-
-
Save lmcarreiro/386e301651161e529df33782baedc9b0 to your computer and use it in GitHub Desktop.
Grid Columns with line-breaks
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const columns = [ | |
{ | |
name: 'id', | |
index: 'id', | |
width: 55 | |
}, | |
{ | |
name: 'invdate', | |
index: 'invdate', | |
width: 90 | |
}, | |
{ | |
name: 'name', | |
index: 'name asc, invdate', | |
width: 100 | |
}, | |
{ | |
name: 'amount', | |
index: 'amount', | |
width: 80, | |
align: "right" | |
}, | |
{ | |
name: 'tax', | |
index: 'tax', | |
width: 80, | |
align: "right" | |
}, | |
{ | |
name: 'total', | |
index: 'total', | |
width: 80, | |
align: "right" | |
}, | |
{ | |
name: 'note', | |
index: 'note', | |
width: 150, | |
sortable: false | |
} | |
]; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment