Skip to content

Instantly share code, notes, and snippets.

@daithi-coombes
Created July 8, 2015 15:36
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save daithi-coombes/3a8a291edf5cd9f463e8 to your computer and use it in GitHub Desktop.
Save daithi-coombes/3a8a291edf5cd9f463e8 to your computer and use it in GitHub Desktop.
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
Copy link

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