Open illmat opened 8 years ago
I just had a little discussion with an datatables author. https://github.com/DataTables/DataTables/pull/713
Basically, I want pass anonymous functions as options. For example:
language: { url: function () { return '/getDataTableLanguageFile/' + TAPi18n.getLanguage(); } }
or
title: function () { if (Meteor.isClient) { return TAPi18n.__('From'); } return 'From'; }
It works like a charm with the PR I've submitted there.
They won't implement this at the moment. Would you mind if we implement this in your package?
Several tickets could be solved with this. ( #147, #137, #115)
+1
I just had a little discussion with an datatables author. https://github.com/DataTables/DataTables/pull/713
Basically, I want pass anonymous functions as options. For example:
or
It works like a charm with the PR I've submitted there.
They won't implement this at the moment. Would you mind if we implement this in your package?