Skip to content

Instantly share code, notes, and snippets.

@lmcarreiro
Last active March 26, 2018 10:31
Show Gist options
  • Save lmcarreiro/554f6657222042d760ebe8db96795c72 to your computer and use it in GitHub Desktop.
Save lmcarreiro/554f6657222042d760ebe8db96795c72 to your computer and use it in GitHub Desktop.
Grid Columns Column-Indented
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