Has anyone used Editor/Datatables with Meteor?

Has anyone used Editor/Datatables with Meteor?

daveboodaveboo Posts: 1Questions: 1Answers: 0

Seems like it would be similar to knockout if you use ViewModel for meteor?

Answers

  • jLinuxjLinux Posts: 981Questions: 73Answers: 75

    Never heard of meteor... or knockout..

  • allanallan Posts: 63,791Questions: 1Answers: 10,511 Site admin

    It should be quite possible to do, but I'm not aware of anyone having published instructions for how to do it. The one key issue you might run into when using a view model is that DataTables and Editor generally expect a JSON response - not HTML (assuming that is what the view returns). The JSON can be used to convey error messages as well as the final result, which is why this approach is taken. The view happens in Javascript for DataTables.

    Allan

  • joetideejoetidee Posts: 3Questions: 1Answers: 0

    I'm interested too in knowing how to integrate DataTables into Meteor, specifically into a React component. I installed the npm package, then imported the datatables module, but Meteor doesn't seem to recognise DataTables (??)

This discussion has been closed.