Created
January 27, 2017 17:51
-
-
Save b2whats/9686ef59e84399249055fb61046b708c to your computer and use it in GitHub Desktop.
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
scheme: { | |
rowHeight: 45, | |
headerHeight: 30, | |
rowClick: true, | |
checkbox: true, | |
counter: true, | |
columns: [{ | |
type: 'text', | |
dataKey: 'name', | |
label: 'Name', | |
width: 200, | |
autoWidth: true, | |
}, { | |
type: 'link', | |
dataKey: 'email', | |
label: 'Email', | |
width: 200, | |
flexGrow: 1, | |
columnData: { | |
filters: { | |
sort: {}, | |
// range: { | |
// min: 0, | |
// max: 1000, | |
// }, | |
contains: {}, | |
}, | |
target: '_blank', | |
template: '/${name}/link/${email}', | |
}, | |
}, { | |
type: 'custom', | |
dataKey: 'custom', | |
label: 'Custom', | |
width: 200, | |
flexGrow: 1, | |
cells: [ | |
{ | |
type: 'link', | |
dataKey: 'email', | |
label: 'Email', | |
width: 200, | |
flexGrow: 1, | |
columnData: { | |
target: '_blank', | |
template: '/${name}/link/${email}', | |
}, | |
}, { | |
dataKey: 'description', | |
label: 'Description', | |
width: 200, | |
flexGrow: 1, | |
}, | |
], | |
}, { | |
type: 'array', | |
dataKey: 'array', | |
label: 'Array', | |
width: 200, | |
columnData: { | |
delimiter: ' ∞ ', | |
}, | |
}, { | |
dataKey: 'description', | |
label: 'Description', | |
width: 200, | |
flexGrow: 1, | |
}, { | |
type: 'number', | |
dataKey: 'status', | |
label: 'Status', | |
width: 200, | |
flexGrow: 1, | |
}], | |
}, |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment