hi,
I loaded a big json file into a cell of the reactive table . Issue is that the text just disappears on the right side of the screen, I already tried to include the autowidth and responsive without luck
Template.APILogs.helpers({
RESTCallSettings: function() {
return {
collection: APILogs,
rowsPerPage: 10,
responsive: true,
autoWidth: true,
showFilter: true,
showColumnToggles: true,
fields: [
{ key: 'action', label: 'Action' },
{ key: 'request', label: 'Request' }, {
key: 'response',
label: 'Response',
fn: function(value) {
return new Spacebars.SafeString('<pre id="json">' + JSON.stringify(value, undefined, 2) + '</pre>')
}
},
{ key: 'createDate', label: 'Date' },
{ key: 'createdBy', label: 'Created by' },
]
};
}
})
thank you