Meteor z tabelami danych: Meteor._atFlush TypeError
Próbuję użyć DataTables (viamrt add datatables
) z Meteor. Próbowałem wielokrotnie dodawać$('#mytableid').dataTable()
doMeteor.subscribe
oddzwonić,Meteor.autorun
, Meteor.startup
, iTemplate.mytemplate.rendered
- wszystkie powodują następujący wyjątek iNo data available in table
wiadomość.
Jakieś wskazówki?
Exception from Meteor._atFlush: TypeError: Cannot call method 'insertBefore' of null
at http://localhost:3000/packages/liverange/liverange.js?bc1d62454d1fefbec95201344b27a7a5a7356293:405:27
at LiveRange.operate (http://localhost:3000/packages/liverange/liverange.js?bc1d62454d1fefbec95201344b27a7a5a7356293:459:11)
at LiveRange.replaceContents (http://localhost:3000/packages/liverange/liverange.js?bc1d62454d1fefbec95201344b27a7a5a7356293:403:17)
at http://localhost:3000/packages/spark/spark.js?c202b31550c71828e583606c7a5e233ae9ca50e9:996:37
at withEventGuard (http://localhost:3000/packages/spark/spark.js?c202b31550c71828e583606c7a5e233ae9ca50e9:105:16)
at http://localhost:3000/packages/spark/spark.js?c202b31550c71828e583606c7a5e233ae9ca50e9:981:9
at http://localhost:3000/packages/deps/deps-utils.js?f3fceedcb1921afe2b17e4dbd9d4c007f409eebb:106:13
at http://localhost:3000/packages/deps/deps.js?1df0a05d3ec8fd21f591cfc485e7b03d2e2b6a01:71:15
at Array.forEach (native)
at Function._.each._.forEach (http://localhost:3000/packages/underscore/underscore.js?47479149fe12fc56685a9de90c5a9903390cb451:79:11)
Aktualizacja: Potencjalnie związane zten przypadek, dla którego najlepszym rozwiązaniem było wywołanie dataTable () dla każdego wiersza - w tym przypadku nie jest to idealne rozwiązanie i potencjalnie katastrofalne w moim przypadku, biorąc pod uwagę bardzo dużą liczbę wierszy.