E('input', {
'type': 'text',
'id': 'columnWidths-input',
- 'value': Object.values(config.columnWidths).join(''),
+ 'value': Object.entries(config.columnWidths).map(([k,v]) => k+':'+v).join(','),
'style': 'width:100%; margin-bottom:10px;'
})
]),
E('input', {
'type': 'text',
'id': 'columnMinWidths-input',
- 'value': Object.values(config.columnMinWidths).join(''),
+ 'value': Object.entries(config.columnMinWidths).map(([k,v]) => k+':'+v).join(','),
'style': 'width:100%; margin-bottom:10px;'
})
]),
E('input', {
'type': 'text',
'id': 'columnMaxWidths-input',
- 'value': Object.values(config.columnMaxWidths).join(''),
+ 'value': Object.entries(config.columnMaxWidths).map(([k,v]) => k+':'+v).join(','),
'style': 'width:100%; margin-bottom:10px;'
})
]),