Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
dhtmlx-gannt meteor
/**
* first add meteor packages:
* meteor add dhtmlx:gantt
* meteor add dhtmlx:gantt-data
* @author daithi coombes <webeire@gmail.com>
*/
TasksCollection = new Mongo.Collection("tasks");
LinksCollection = new Mongo.Collection("links");
if(Meteor.isClient){
Meteor.startup(function(){
gantt.init("gantt_here");
gantt.meteor({tasks: TasksCollection, links: LinksCollection});
console.log('nipple nipple');
})
}
@Disc0rde

This comment has been minimized.

Copy link

Disc0rde commented Dec 22, 2015

I can't make it work. The UI is displayed, I can create Tasks (I can find them in the DB) but they aren't displayed. Anything I missed ? Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.