Created
July 8, 2015 15:36
-
-
Save daithi-coombes/3a8a291edf5cd9f463e8 to your computer and use it in GitHub Desktop.
dhtmlx-gannt meteor
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* 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'); | |
}) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.