I am trying to use Tabular and running into issues, Tabular.Table options must specify collection. Any Ideas?
This is my Tabular definition
TabularTables.CList = new Tabular.Table({
collection: Carts,
name:"Crts",
columns: [
{data: "name", title: "Name", class: "col-md-1"},
{data: "description", title: "Description", class: "col-md-3"},
{data: "reason", title: "Reason", class: "col-md-4"},
{data: "cId", title: "Crt Id", class: "col-md-1"},
{
tmpl: Meteor.isClient && Template.AlbumActionBtns, class: "col-md-1"
}
]
});
Error
W20170110-22:39:24.590(-6)? (STDERR)
W20170110-22:39:24.591(-6)? (STDERR) Error: Tabular.Table options must specify c
ollection
W20170110-22:39:24.591(-6)? (STDERR) at new _class (packages/aldeed:tabular/
common/Tabular.js:16:13)
I followed below thread and tried to reorder my package with no luck.
Below is my package list.
msavin:mongol
aldeed:tabular
meteortoys:allthings
d3js:d3
twbs:bootstrap
aldeed:autoform
meteor-base@1.0.4 # Packages every Meteor app needs to have
mobile-experience@1.0.4 # Packages for a great mobile UX
mongo@1.1.14 # The database Meteor supports right now
aldeed:collection2
blaze-html-templates@1.0.4 # Compile .html files into Meteor Blaze views
reactive-var@1.0.11 # Reactive variable for tracker
jquery@1.11.10 # Helpful client-side library
tracker@1.1.1 # Meteor's client-side reactive programming library
standard-minifier-css@1.3.2 # CSS minifier run for production mode
standard-minifier-js@1.2.1 # JS minifier run for production mode
es5-shim@4.6.15 # ECMAScript 5 compatibility for older browsers.
ecmascript@0.6.1 # Enable ECMAScript2015+ syntax in app code
shell-server@0.2.1 # Server-side component of the `meteor shell` command
#autopublish@1.0.7 # Publish all data to the clients (for prototyping)
insecure@1.0.7 # Allow all DB writes from clients (for prototyping)
kadira:flow-router
kadira:blaze-layout
#harrison:papa-parse
themeteorchef:bert
Any ideas?