That worked perfectly, thanks!
If anyone else needs this, I replaced the hardcoded datafield name with this:
function columnMenuOpening(menu, datafield, height) {
let dateDatafields = columns.filter(column => column.filtertype === ‘date’).map(column => column.datafield)
if (dateDatafields.indexOf(datafield) > -1) {
displayDatePickerButtons();
}
}
function displayDatePickerButtons() {
const dateTimeInputs = Array.from(document.querySelectorAll(‘div.filter div.jqx-datetimeinput’));
dateTimeInputs.forEach(e => {
const showFooter = $(#${e.id}
).jqxDateTimeInput(‘showFooter’);
if (!showFooter) {
$(#${e.id}
).jqxDateTimeInput({
showFooter: true
});
}
})
}