-
Notifications
You must be signed in to change notification settings - Fork 29
Open
Labels
Description
I have the following:
Template.noticesSearch.notices = function () {
return {
id: 'notices-table',
columns: [{
title: 'Date',
data: 'noticedate',
mRender: function (data, type, row) {
return moment(row.noticedate).format('DD/MM/YYYY');
}
}, {
title: 'Died on',
data: 'diedon',
mRender: function (data, type, row) {
return moment(row.diedon).format('DD/MM/YYYY');
}
},{
title: 'Family name',
data: 'familyname'
},{
title: 'First names',
data: 'firstnames'
},{
title: 'Estate value',
data: 'estatevalue',
mRender: function (data, type, row) {
return accounting.formatMoney(row.estatevalue, '£ ', 0);;
}
}],
subscription: 'all_notices',
options: {
order: [0, 'desc'],
searching: false
}
}
};Adding the 'searching' option results in an error in the JS console:
Uncaught TypeError: Cannot read property 'value' of undefined Query.mixin.coffee:86include.mapTableState Query.mixin.coffee:86
DataTableComponent.fnServerData DataTables.component.coffee:56
later underscore.js:731
I was led to believe, from the datatable docs, that this option would allow me to suppress the live search/filter box.