meteor-tabular
meteor-tabular copied to clipboard
Collection results missing fields
I have 15 fields in the collection Prices.
For the columns I use a render function
render: function (val, type, doc, meta) {
// render documentation
// https://datatables.net/reference/option/columns.render
return renderTicker(val, doc);
}
When I console.log('render doc:' + JSON.stringify(doc)) there are only 9 fields in the doc parameter.
Using the ephemer:reactive-datatables component all 15 fields from the Prices collection are shown in the console.log('render doc:' + JSON.stringify(doc).
What could possibly be causing this strange behaviour?